Results 1 to 2 of 2
- 11-21-2009, 01:25 PM #1
Member
- Join Date
- Oct 2009
- Posts
- 16
- Rep Power
- 0
Application-Managed EntityManager transaction type must be RESOURCE_LOCAL
[P-312 of Ejb3 In Action Book"] states:
"For application-based EntityManager, the transaction-type must be set to RESOURCE_LOCAL in the persistence.xml file".
but in case the application is running inside container (App server) , it can join JTA transaction. Sp why always transaction-type should be
RESOURCE_LOCAL.?
- 11-23-2009, 05:56 PM #2
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 6
Similar Threads
-
jsp:include in a sql:transaction
By sam2020 in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 07-31-2008, 08:11 PM -
simulate form type=button press with java application
By redmoonzer01 in forum NetworkingReplies: 1Last Post: 03-29-2008, 06:28 AM -
Container Managed Persistence
By Java Tip in forum Java TipReplies: 0Last Post: 12-27-2007, 10:16 AM -
org.hibernate.ejb.Version <clinit> INFO: Hibernate EntityManager 3.2.0.CR1
By Heather in forum JDBCReplies: 2Last Post: 06-30-2007, 03:01 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks