wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes Hibernate - Session.beginTransaction() method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate - Session.beginTransaction() method" Watch "Hibernate - Session.beginTransaction() method" New topic
Author

Hibernate - Session.beginTransaction() method

Witold Marshal
Ranch Hand

Joined: Feb 05, 2012
Posts: 48
Does beginTransaction() method from Session interface begins JTA transaction or local resource transaction?
Or maybe both of them depending on application type:
- resource local transaction for stand alone appliacation (J2SE),
- JTA transaction for JEE server managed applictaion; ???
Witold Marshal
Ranch Hand

Joined: Feb 05, 2012
Posts: 48
Does anyone know something about that?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Hibernate - Session.beginTransaction() method