Which way to obtain a persistence session is recommended for web applications:
sessionFactory.openSession()orsessionFactory.currentSession()
in Hibernate with Spring? And: Why?
Which way to obtain a persistence session is recommended for web applications:
sessionFactory.openSession() or sessionFactory.currentSession() in Hibernate with Spring? And: Why?