SELECT *
FROM
(SELECT row_.*,
rownum rownum_
FROM
(SELECT this_.id AS
id31_0_,
this_.version AS
version31_0_,
this_.currency_code AS
currency3_31_0_,
this_.decimal_in_word AS
decimal4_31_0_,
this_.decimal_place AS
decimal5_31_0_,
this_.description AS
descript6_31_0_,
this_.effective_date AS
effective7_31_0_,
this_.termination_date AS
terminat8_31_0_,
this_.unit_in_word AS
unit9_31_0_,
this_.crt_ts AS
crt10_31_0_,
this_.crt_usr AS
crt11_31_0_,
this_.lst_action AS
lst12_31_0_,
this_.lst_upd_ts AS
lst13_31_0_,
this_.lst_upd_usr AS
lst14_31_0_,
this_.used_flag AS
used15_31_0_,
this_.archived_flag AS
archived16_31_0_,
this_.active_flag AS
active17_31_0_,
this_.common_udf_data_id AS
common18_31_0_
FROM cf_currency this_
WHERE this_.active_flag = 'Y'
ORDER BY this_.currency_code ASC)
row_
WHERE rownum <= 72)
WHERE rownum_ > 40;
分享到:
相关推荐
hibernate分页Hibernate 分页的设计和编码
一个基于Hibernate 和 SQLServer 数据库的分页示例,所有文件和数据库备份都在,只是速度不怎么快,如果加上自动生成下拉框,速度就更慢了,单表、10008条测试数据,如果哪位大侠改进了查询速度望告之:vni2007@163....
不错的分页(Hibernate+sqlserver2000分页)值得大家一看。
java 实现的一个简单的hibernate分页类 可以设置,从某一条开始取、显示的条数 不依赖struts spring
基于sql语句的分页,效率更高,此jar包包含常用分页格式 使用方法在jboss5的博客中
NULL 博文链接:https://jeffenchung.iteye.com/blog/1472402
hibernate分页(无排序,搜索,仅仅分页显示),服务器端分页在datatables上展现,有关 datatables的知识请关注它的官网http://www.datatables.net/,datatables的功能很 全面。 2,建表的sql--studentinfo和插入...
JSF+Spring+Hibernate 分页显示 SQL Server数据库
使用hibernate对分页的一个小封装,方便初学者参考.
讲解了Hibernate中实现分页的方法,详细讲解了JDBC+SQL 2005如何实现假分页,并用struts2标签,在页面上显示。
数据库分页实际上是利用数据库本身SQL扩展的功能进行分页,例如MySQL的 limit 0,50这样的SQL语句。不但速度快,而且非常节省内存。不过不是每种数据库的都有这种分页支持的SQL,例如SQL Server就不支持。 4.scroll...
NULL 博文链接:https://aa00aa00.iteye.com/blog/939564
hibernate 分页查询的实现 hibernate 内置的有分页功能 有三个参数 thisnumber一个是当前页数 sumcount是一页显示多少条数据 sql是用来查询的sql语句 public List getPageList(int thisNumber, int sumCount, ...
公司的大部分项目都开始使用IBatis作为O/R Mapping了,但是在使用的过程中也发现了很多不方便和存在争议的地方,其中一个不方便的地方就是分页,目前的处理方式都是在sqlMap中写针对特定数据库的物理分页Sql语句,对于...
NULL 博文链接:https://zhouhaitao.iteye.com/blog/1123917
本分页程序是在myeclipse6.0.1下开发,物...myfaces1.1.5+hibernate3.1+spring实现大数据分页,并包括添加、修改和删除功能,添加修改和删除后均返回当前页面。数据库用的是mysql,上传时略去了jar包。sql.sql是sql语句
SQLServer2008Dialect 优化了原来的分页查询数据方法以及在生成SQL时表后增加了with(nolock)
本人用struts+hibernate写的分页,有详细的注解,方便新手学习,在jsp中实现首页下一页上一页末页功能.index.jsp控制showlist.jsp页面中每页显示的信息条数,本实例在xp+tomcat5.5验证通过.数据库使用的sql2000中的pubs...
在使用表格的分页功能时,我们把该控件的start与limits参数与Hibernate的分页功能影射,从页实现了动态的分页效果;而TreePanel的更新也是一个比较常见的问题,当我们点击测试按钮时,TreePanel会请求远程服务器的...
这个是用sql+hibernate+strtust2.1做的分页,供大家参考