Joined: Thu Aug 14, 2008 3:53 am Posts: 4
|
hi,
I've worked thru the first hibernate app but am slightly confused about transactions. In the web app version this line appears at start of doGet
// Begin unit of work
HibernateUtil.getSessionFactory().getCurrentSession().beginTransaction();
and commit at end of doGet:
ibernateUtil.getSessionFactory().getCurrentSession().getTransaction().commit();
But what if i dont want everything in between in a transaction?
is it possible to do an insert/update in hibernate3 without it being in a transaction?
|
|