Hibernate filter

1. Hibernate filter is used to give a definition condition in xml mapping files.
2. Ever session want to use it must enable the filter with name first.
3. filter is defined in xml with elment <filter-def> under <hibernate-mapping>, used <filter> element under <class> element.
4. give certain sql condition attribute either in <filter-def> or <filter>.
5. Support value to filter parameters in application.



The main purpose is to support global filter.

posted on 2007-05-24 13:20 Sheldon Sun 阅读(434) 评论(0)  编辑  收藏


只有注册用户登录后才能发表评论。


网站导航:
 
<2007年5月>
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

导航

统计

常用链接

留言簿(3)

随笔档案

文章档案

搜索

最新评论

阅读排行榜

评论排行榜