Vikash Chahal
Vikash Chahal

Reputation: 71

Difference between WebSphereExtendedJTATransactionLookup and WebSphereTransactionManagerLookup?

We are using WAS 8.5.5. We have to use a TransactionLookup class in our persistence.xml.

But we are having confusion which one to use for JTA transactions out of "WebSphereExtendedJTATransactionLookup" and "WebSphereTransactionManagerLookup". What is the difference between these two? We are not able to make up our mind which one to use.

Upvotes: 0

Views: 1876

Answers (1)

M. Deinum
M. Deinum

Reputation: 124516

Looking at the javadoc of those classes I would say use the WebSphereExtendedJTATransactionLookup. The WebSphereTransactionManagerLookup appears to be for WebSphere < 6.

However depending on which hibernate version you are (hibernate 4.x) you shouldn't be using the TransactionLookup anymore but should configure a JtaPlatform (in this case propably the WebsphereExtendedJtaPlatform). This is the one we use on WAS 8.0.

Upvotes: 4

Related Questions