getSesson currentSession 1 getCurrentSession创建的session会和绑定到当前线程,而openSession不会。org.hibernate.context.JTASessionContext - 当前session根据JTA来跟踪和界定。 rosekissyou 2011-09-05 22:46:41
getSesson currentSession 1 getCurrentSession创建的session会和绑定到当前线程,而openSession不会。org.hibernate.context.JTASessionContext - 当前session根据JTA来跟踪和界定。 mowengaoboa 2010-05-07 07:22:02