Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Eclipselink equivalent...

To enable JTA in EclipseLink your must set your transaction type to JTA in
your persistence.xml (instead of RESOURCE_LOCAL).  Also you need to ensure
you are using a JTA managed DataSource, and you must configure your
"eclipselink.target-server" for the server/JTA implementation you are
running on.



vaidya nathan wrote:
> 
> Hi,
> what is the eclipselink equivalent of <entry
> key="hibernate.current_session_context_class" value="jta" />. I am
> sometimes not getting a jta transaction within my DAO when trying to
> do an update or create , and to fix the issue in hibernate i had to
> introduce that in one of my spring configuration .. Is there an
> equivalent in eclipselink for that?
> 
> Thx
> Vaidya
> 
> 
> 


-----
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland 
http://www.eclipse.org/eclipselink/
 EclipseLink ,  http://www.oracle.com/technology/products/ias/toplink/
TopLink 
Wiki:  http://wiki.eclipse.org/EclipseLink EclipseLink , 
http://wiki.oracle.com/page/TopLink TopLink 
Forums:  http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , 
http://www.eclipse.org/forums/index.php?t=thread&frm_id=111&S=1b00bfd151289b297688823a00683aca
EclipseLink 
Book:  http://en.wikibooks.org/wiki/Java_Persistence Java Persistence 
Blog:  http://java-persistence-performance.blogspot.com/ Java Persistence
Performance 
-- 
View this message in context: http://old.nabble.com/Eclipselink-equivalent...-tp34170218p34245821.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top