Thinkfeng
Thinkfeng
導航
BlogJava
首頁
新隨筆
聯系
聚合
管理
<
2025年7月
>
日
一
二
三
四
五
六
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
統計
隨筆 - 2
文章 - 4
評論 - 2
引用 - 0
常用鏈接
我的隨筆
我的評論
我的參與
最新評論
留言簿
(1)
給我留言
查看公開留言
查看私人留言
隨筆檔案
2008年9月 (1)
2008年8月 (1)
文章檔案
2008年9月 (1)
2008年8月 (3)
搜索
最新評論
1.?re: prompt方法 window . prompt JavaScript窗口及輸入輸出[未登錄]
甘奪大規模
--在
2.?re: 日期選擇js
評論內容較長,點擊標題查看
--Thinkfeng
閱讀排行榜
1.?日期選擇js(886)
2.?顏色(290)
評論排行榜
1.?日期選擇js(1)
2.?顏色(0)
HQL 分頁
public
List find(
final
String hsql,
final
int
firstRow,
final
int
maxRow)
throws
Exception
{
return
getHibernateTemplate().executeFind(
new
HibernateCallback()
{
public
Object doInHibernate(Session s)
throws
HibernateException, SQLException
{
Query query
=
s.createQuery(hsql);
query.setFirstResult(firstRow);
query.setMaxResults(maxRow);
List list
=
query.list();
return
list;
}
}
);
}
posted on 2008-08-29 17:21
Thinkfeng
閱讀(195)
評論(0)
編輯
收藏
新用戶注冊
刷新評論列表
只有注冊用戶
登錄
后才能發表評論。
網站導航:
博客園
IT新聞
Chat2DB
C++博客
博問
管理
Powered by:
BlogJava
Copyright © Thinkfeng
主站蜘蛛池模板:
饶阳县
|
太白县
|
彰武县
|
阜阳市
|
张家界市
|
邵阳县
|
沙河市
|
北流市
|
班玛县
|
扬州市
|
罗甸县
|
获嘉县
|
雅江县
|
灵川县
|
雷波县
|
仁寿县
|
昭平县
|
武夷山市
|
宣威市
|
龙岩市
|
禹州市
|
任丘市
|
奎屯市
|
汉川市
|
乌拉特中旗
|
呼玛县
|
安岳县
|
邵阳市
|
镇原县
|
阜宁县
|
武汉市
|
张北县
|
安义县
|
汤阴县
|
孝昌县
|
江陵县
|
黄石市
|
个旧市
|
昌都县
|
黎平县
|
修文县
|