Hi
I wonder if it's possible to make several transaction in same session while in CMT ?
All hibernate documentation I read make me think yes, but :
- It seems that getting Hibernate Session with SessionFactory.getCurrentSession() make the session to close after commit
- All tests I wrote with CMT or simply JTA shows problem when a transaction roolback and the next commit in the same session : both are commited (see
http://forum.hibernate.org/viewtopic.php?t=959171 for code).
Can anyone help me ?
Hibernate version:
3.1.3
Name and version of the database you are using:
PostgreSQL, version: 8.1.3
EJB Container
Jonas 4.7.4
regards