文辉居士
上一页 1 2 3 4 5 6 ··· 25 下一页

2014年4月15日

实现数据排序的几种方法

摘要: 查询语句指定数值排序 结合java代码,查出查询期间有数据的最近一天数据,拿此数据,用order by,field指定排序,结果集里有的数据,在此函数中一定要存在,否则排序失效 select queryDate,modelName from tables ORDER BY queryDate DES 阅读全文

posted @ 2014-04-15 15:13 restService 阅读(502) 评论(0) 推荐(0) 编辑

2013年12月24日

XenDesktop 5 PowerShell SDK Primer – Part 2 – Creating Hypervisor Connections and Hosts

摘要: One of the new changes that you will see in XenDesktop 5 is the configuration of hypervisorconnectionsandhosts. In order to create the “pooled”, “dedicated”, or “existing” catalog types in XenDesktop 5, XenDesktop needs to know details of the hypervisor that will be hosting the virtual desktops. Hyp 阅读全文

posted @ 2013-12-24 15:48 restService 阅读(834) 评论(0) 推荐(0) 编辑

2013年11月29日

Spring 4.0 中的 WebSocket 架构

摘要: 两年前,客户端与服务器端的全双工双向通信作为一个很重要的功能被纳入到WebSocket RFC 6455协议中。在HTML5中,WebSocket已经成为一个流行词,大家对这个功能赋予很多构想,很多时候甚至是不切实际的期望。在这篇文章中,我们将重点介绍下如何通过Spring Framework 4. 阅读全文

posted @ 2013-11-29 15:56 restService 阅读(1406) 评论(0) 推荐(0) 编辑

2013年10月31日

mybatis大数据提交和更新,数据SQL语句批量提交数据库

摘要: 我们在做数据插入和数据更新的时候,业务产生的日志数据有好几万百万,那么正常的插入语句已性能弱,mybatis提供了实现大数据插入数据表的方法,下面我们就来实现一个例子。 1.引入mybatis的依赖jar 2.配置mybatis 3.创建 BrontoDataDao 4.创建BrontoDataMa 阅读全文

posted @ 2013-10-31 12:36 restService 阅读(1757) 评论(0) 推荐(0) 编辑

2013年10月29日

mybatis 异常: Invalid bound statement (not found),TooManyResultsException:Expected one result (or null) to be returned by selectOne(), but found

摘要: Invalid bound statement (not found): cn.com.dao.UserDao.selectByUser at org.apache.ibatis.binding.MapperMethod$SqlCommand.<init>(MapperMethod.java:178 阅读全文

posted @ 2013-10-29 14:48 restService 阅读(32773) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 25 下一页

导航


我是有底线的赠送场