-
FEATURED COMPONENTS
First time here? Check out the FAQ!
asked 2013-03-21 15:33:10 +0800
This post is a wiki. Anyone with karma >100 is welcome to improve it.
Since Hibernate 3.6 version please use Hibernate standard methods to manage Hibernate session. what does that mean ?? can anyone give me an example on how to manage the sessions ?? since the HibernateUtil class is deprecated since version 4.0
regarding 'just use the default way', means just use hibernate in its way, like using it in pure console program without ZK. You can find some sample from their official document http://www.hibernate.org/docs
Asked: 2013-03-21 15:33:10 +0800
Seen: 13 times
Last updated: Mar 21 '13
That means do what you have to do without ZK, just use the default way.
benbai ( 2013-03-22 04:15:47 +0800 )editcan you give me an example on how to do that plz ?
kazma ( 2013-03-22 09:29:10 +0800 )editi saw this link http://emrpms.blogspot.in/2013/02/mvvm-crud-with-spring-31-and-hibernate.html, and he uses the spring package in order to create the hibernate session factory...is it the only way ??
kazma ( 2013-03-22 09:43:46 +0800 )edit