SessionFactory.getCurrentSession() 是 Hibernate 应用获取 Session
的常用方法。在调用该方法时,Hibernate 会从 interface CurrentSessionContext 获取当前的
Session,这是Hibernate 在不同组件中传递 Session 的方法。
CurrentSessionContext 有三个实现,分别是
ThreadLocalSessionContext、JTASessionContext 和
ManagedSessionContext。ThreadLocalSessionContext ...
- 15:45
- 浏览 (154)
- 评论 (0)
- 分类: Hibernate
- 发布在 JBoss SEAM 圈子
- 浏览: 8698 次
- 性别:

- 来自: 北京

- 详细资料
搜索本博客
我的相册
BPMS 架构
共 1 张
共 1 张
最近加入圈子
最新评论
-
灵活一点的 Spring MVC 的 ...
2.0以后的spring带这类功能
-- by codger -
使 Spring MVC tags 支持 ...
form 没有 path 属性。后来在使用中发现,修改后的代码不能将表单中的值正 ...
-- by SSailYang -
使 Spring MVC tags 支持 ...
还是不明白,你的意思是<form:form> 不写成 <form:f ...
-- by kidd3166 -
也谈算法的重要性
...
-- by ryuluck -
看了看《Seam in Action》 ...
期待
-- by 打倒小日本






评论排行榜