本论坛收集的链接 - HB

博客围绕Struts+Hibernate和Spring展开讨论,涉及PO、VO在Struts+Hibernate中的使用,Spring的DAO设计实践,Appfuse中测试代码疑惑等。还着重探讨了查询的分页问题,包括性能考虑、不同分页方法及Hibernate对分页SQL的处理等。
再谈关于po,vo在struts+hibernate中的使用(讨论)
http://forum.hibernate.org.cn/viewtopic.php?t=4173&highlight=%B7%D6%D2%B3

Spring的DAO设计实践
http://forum.hibernate.org.cn/viewtopic.php?t=8224&postdays=0&postorder=asc&highlight=%B7%D6%D2%B3&start=15

http://forum.iteye.com/viewtopic.php?p=62574#62560
appfuse中test代码,一点疑惑

http://forum.hibernate.org.cn/viewtopic.php?t=9881&highlight=%B7%D6%D2%B3
查询的分页问题,考虑性能

http://forum.hibernate.org.cn/viewtopic.php?t=9332&highlight=%B7%D6%D2%B3
spring+hibernate中公共DAO的抽象问题。

http://forum.hibernate.org.cn/viewtopic.php?t=8323&highlight=%B7%D6%D2%B3
[原创]Hibernate_Spring中通用的DAO类

http://forum.hibernate.org.cn/viewtopic.php?t=8805&highlight=%B7%D6%D2%B3
数据分页显示的一种方法

专业的数据分页
http://www.devx.com/Java/Article/21383

关于使用hibernate进行分页的问题
http://forum.hibernate.org.cn/viewtopic.php?t=4648&highlight=%B7%D6%D2%B3

本人才接触O/R不久,不知Hibernate对如下查询是如何处理的?...
http://forum.hibernate.org.cn/viewtopic.php?t=1409&highlight=%B7%D6%D2%B3

关于分页的问题
http://forum.hibernate.org.cn/viewtopic.php?t=604&highlight=%B7%D6%D2%B3
=============================================
SQLServer 下的分页,很多人做过相应的测试:
1)
select top PageSize * from TableName where id not in (select top StartRecord-1 id from TableName order by id) order by id
2)
select top PageSize * from TableName where id > (select max(id) from (select top startRecord-1 id from TableName order by id) as TempTable) order by id
2)的测试结果要好于1)的结果。
Hibernate原来的SQLServerDialect曾经采用过这种分页SQL,但是最新的Hibernate2.1.6版本中又被拿掉了,不知道是什么原因?难道这种分页SQL有潜在的问题吗?
======================================
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值