Hibernate session commit and rollback passed to SessionManager bean
Hibernate session commit and rollback passed to SessionManager bean - rest of the code
Java docs