登录
首页 » Java Develop » Hibernate 可以实现分页查询,例如:   从第2万条开始取出100条记录   Query q = session.createQuer...

Hibernate 可以实现分页查询,例如:   从第2万条开始取出100条记录   Query q = session.createQuer...

于 2023-02-24 发布 文件大小:4.59 kB
0 161
下载积分: 2 下载次数: 1

代码说明:

Hibernate 可以实现分页查询,例如:   从第2万条开始取出100条记录   Query q = session.createQuery("from Cat as c")   q.setFirstResult(20000)   q.setMaxResults(100)   List l = q.list() -Hibernate paging query can be achieved, for example: starting from the first 20000 records of 100 out Query q = session.createQuery ( " from Cat as c" ) q.setFirstResult (20000) q.setMaxResults (100) List l = q.list ()

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Java实现万年历。只有一个文件,实现了万年历功能,适合初学者学习JAVA编程。...
    Java实现万年历。只有一个文件,实现了万年历功能,适合初学者学习JAVA编程。-Java implementation calendar. There is only one file, realized the calendar function, suitable for beginners to learn JAVA programming.
    2022-06-17 14:45:07下载
    积分:1
  • 用Java程序写的,可以获得硬盘的序列号,非常有用!
    用Java程序写的,可以获得硬盘的序列号,非常有用!-Written using Java program to obtain the hard drive serial number, very useful!
    2022-02-10 15:05:12下载
    积分:1
  • java SOCKET研究及原代码 很详细
    java SOCKET研究及原代码 很详细-study and the original code in great detail
    2023-07-15 02:55:02下载
    积分:1
  • 我写了一个很简单的测量单位转换程序,运行在jdk1.4.2…
    本人写的一个非常简单的度量单位换算程序,用JCreator在jdk1.4.2下编译通过。-I wrote a very simple measurement unit conversion program, JCreator in jdk1.4.2 under compile.
    2023-07-06 16:35:03下载
    积分:1
  • The demand for hotel management system, including a la carte Founding functions,...
    酒店管理系统的需求包括开台点菜功能、智能化获取菜品功能、自动结账功能、营业额报表功能等。依据餐饮行业的特点,本系统实现以下目标:  操作简单方便、界面简洁大方。  方便快捷的开台点菜功能。  智能化定位菜品的功能。  快速查看开台点菜信息的功能。  自动结账功能。  按开台和商品实现的日结账功能。  按日消费额汇总统计实现的月结账功能。  按日营业额实现的年结账功能。  系统运行稳定、安全可靠。 -The demand for hotel management system, including a la carte Founding functions, access to food features intelligent, automatic closing function, reporting features, such as turnover. Based on the characteristics of food and beverage industry, the system to achieve the following goals:  operation is simple and convenient, simple and elegant interface.  Founding convenient features a la carte.  dishes intelligent positioning function. Founding  Quick View order information.  automatic closing feature.  Founding and commodities in accordance with the realization of the functional checkout of the day.  daily consumption amount of aggregate statis
    2022-01-25 20:15:54下载
    积分:1
  • can help you produce on the website javascript button. You can make a website fu...
    可以帮你制作基于javascript的网页按钮。 可以使你的网页富有动画的效果,使网页更加的美观。-can help you produce on the website javascript button. You can make a website full of animation effect, making the website more attractive.
    2022-04-26 15:21:42下载
    积分:1
  • java图书管理系统,个人以为比较好用,可以试试看
    java图书管理系统,个人以为比较好用,可以试试看-java library management systems, personal thought more convenient, could give it a try
    2022-06-01 00:52:07下载
    积分:1
  • 这是一种改进的网络爬虫源码,使用多
    这是一个改进的网络爬虫源代码,采用多线程技术对网页进行采集.-This is an improved network reptiles source code, the use of multi-threading technology on the web pages collected.
    2022-07-01 04:33:07下载
    积分:1
  • JSVM核心类库,收集了JAVA进行JSVM开发必用技术进行归纳,在实际项目应用中直接引用相关类库即可现实JSVM相关功能!...
    JSVM核心类库,收集了JAVA进行JSVM开发必用技术进行归纳,在实际项目应用中直接引用相关类库即可现实JSVM相关功能!-JSVM core class library, a collection of Java development for JSVM must use technology into the actual project application directly related libraries can be invoked JSVM related functional reality!
    2022-01-29 02:30:32下载
    积分:1
  • java实现了脸谱网API客户端,来自不
    A Facebook API client implemented in Java, derived from the poorly-maintained official Facebook client. -A Facebook API client implemented in Java, derived from the poorly-maintained official Facebook client.
    2022-08-10 05:11:53下载
    积分:1
  • 696516资源总数
  • 106633会员总数
  • 4今日下载