File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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?
I agree. Here's the link:
subject: Hibernate - Session.beginTransaction() method
Similar Threads
JTA transaction or resource-local transaction.
Problem with understanding Transaction Management Demarcation
Resource Local Transactions
Transaction Scoped Persistence Contexts
application managed EM can be either JTA or resource-local?