RE: [eclipselink-users] Logging SQL results
at the "finest" log level for each retrieved object the registration in the UOF
is logged, as the following line is showing
[EL Finest]: UnitOfWork(20054554)--Register the existing object x.y.z.XYZ@3878ab58
- and a custom toString() implementation may offer object state details, right?
From: eclipselink-users-bounces@xxxxxxxxxxx on behalf of James Sutherland
Sent: Mon 9/22/2008 3:46 PM
Subject: RE: [eclipselink-users] Logging SQL results
ALL is the same as FINEST, EclipseLink never logs the results, as this could
generate a lot of stuff. I agree it is sometimes useful though, so feel
free to log a bug for this. You can log the results yourself using a
> Ah! :) Can someone please add this to the documentation?
> http://wiki.eclipse.org/EclipseLink/Examples/JPA/Logging doesn't mention
> this logging level or what extra it will log.
> Thomas Paradies wrote:
>> set eclipselink.logging.level to the finest level (ALL).
>> -----Original Message-----
>> From: eclipselink-users-bounces@xxxxxxxxxxx on behalf of cowwoc
>> Sent: Mon 9/22/2008 5:52 AM
>> To: eclipselink-users@xxxxxxxxxxx
>> Subject: Re: [eclipselink-users] Logging SQL results
>> I tracked this problem down to a bug in the way warp-persist is handling
>> Transaction-per-Request. The same EntityManager was being reused across
>> different HTTP requests leading to the following behavior:
>> - Request goes to Thread 1. It saves version 10
>> - Request goes to Thread 2. It saves version 11.
>> - Request goes to Thread 1. The query returns the cached object (version
>> 10). When the thread attempts to commit this a OptimisticLockException is
>> I'd still to know how to get EclipseLink to log SQL query results
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland
EclipseLink , http://www.oracle.com/technology/products/ias/toplink/
Wiki: http://wiki.eclipse.org/EclipseLink EclipseLink ,
Forums: http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink ,
Book: http://en.wikibooks.org/wiki/Java_Persistence Java Persistence
View this message in context: http://www.nabble.com/Logging-SQL-results-tp19600126p19608296.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.
eclipselink-users mailing list