Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » flush commits transaction(flush commits transaction)
flush commits transaction [message #1569051] Sat, 17 January 2015 08:15 Go to next message
Ramu M is currently offline Ramu MFriend
Messages: 8
Registered: December 2013
Junior Member
HI,
I'm using weblogic server 11g with eclipselink 2.5.2 and datasource is XA
when i call flush method transaction is getting committed intermittently.
what could be the reason ?

persistance.xml properties are given below

<persistence-unit name="FJ" transaction-type="JTA">
<mapping-file>META-INF/generic-mapping.orm.xml</mapping-file>
<jta-data-source>jdbc/COMDataSource</jta-data-source>
<shared-cache-mode>NONE</shared-cache-mode>
<properties>
<property name="eclipselink.logging.logger" value="JavaLogger"/>
<property name="eclipselink.logging.level" value="SEVERE"/>
<property name="eclipselink.logging.parameters" value="false"/>
<property name="eclipselink.logging.exceptions" value="true"/>
<property name="eclipselink.exclude-eclipselink-orm" value="true"/>
<property name="eclipselink.target-database" value="Oracle11"/>
<property name="eclipselink.persistence-context.flush-mode" value="commit"/>
<property name="eclipselink.persistence-context.persist-on-commit" value="false"/>
<property name="eclipselink.flush-clear.cache" value="DROP"/>
</properties>
</persistence-unit>
Re: flush commits transaction [message #1580583 is a reply to message #1569051] Fri, 23 January 2015 15:36 Go to previous message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1389
Registered: July 2009
Senior Member
EclipseLink should have no control over the transaction when using JTA, so more information would need to be provided - turn on logging to Finest, and show how you are obtaining your entityManagers and calling flush. How are you seeing that the transaction was commited?

[Updated on: Fri, 23 January 2015 15:38]

Report message to a moderator

Previous Topic:Unable To Generate MetaModel For Entity
Next Topic:Cache Coordination failure during merge operation
Goto Forum:
  


Current Time: Thu Sep 26 08:29:40 GMT 2024

Powered by FUDForum. Page generated in 0.02771 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top