Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » transaction not commiting
transaction not commiting [message #389429] Tue, 09 June 2009 16:24 Go to next message
Prashant is currently offline PrashantFriend
Messages: 2
Registered: July 2009
Junior Member
Hello,

Using spring 2.5.6 + tomcat 6.0.18 + eclipselink 1.1.1.

No exceptions, no messages. Everything appears to work fine but some
transactions never commit to the DB.
So the changes to the entities work since they are in memory but can not
see them in the DB. Obviously, after restart nothing exists since its not
been committed.

Read in some thread about eclipselink.target-server and set it to "None"
which is default anyway, so it did not help.

It works just fine with TopLink essentials.

Thanks in advance,
Prashant
Re: transaction not commiting [message #389449 is a reply to message #389429] Wed, 10 June 2009 13:23 Go to previous messageGo to next message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

Enable logging to see what is occurring in the transactions that do not
commit. What is different in the transaction that commit vs don't commit?
Check if you are getting or handling any exceptions.

Also include your persistence.xml and Spring config.

---
James
http://www.nabble.com/EclipseLink---Users-f26658.html


James : Wiki : Book : Blog : Twitter
Re: transaction not commiting [message #389751 is a reply to message #389449] Sat, 27 June 2009 11:43 Go to previous message
Prashant is currently offline PrashantFriend
Messages: 2
Registered: July 2009
Junior Member
It turns out that I was looking at wrong place because TopLink was working
well. The orm.xml had column repeated as transient which was being ignored
by EclipseLink. After removing the transients, it works well.
Previous Topic:Order of persit operations not preserved?
Next Topic:How to bypass cache for a specific query?
Goto Forum:
  


Current Time: Thu Apr 25 03:41:51 GMT 2024

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

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

Back to the top