I am implementing a application with Struts2 + Spring + Hibernate.
I would like to know what is the difference between using LocalSessionFa开发者_如何转开发ctory alone in Spring's applicationContext.xml and using HibernateTransactionManager, having the LocalSessionFactory injected.
look at http://community.jboss.org/wiki/Non-transactionalDataAccessAndTheAuto-commitMode especially at Working nontransactionally with Hibernate
加载中,请稍侯......
精彩评论