Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Logging JPQL
Logging JPQL [message #759893] Wed, 30 November 2011 08:50
Mauro Flores is currently offline Mauro Flores
Messages: 84
Registered: September 2009
Location: Brasil
Member
It is possible to log the SQL queries generated by a JPQL query setting the property:

<property name="eclipselink.logging.level" value="FINE" />

How can I log JPQL query itself?

I would like to see the JPQL that generated each set of SQL queries.

The purpose is to turn on this log in an existing application and analyse which JPQL is not optimized.

I tried setting to ALL the level of log4j, even so the JPQL was not shown.

Is it possible, or I should change every code of my application to log explicitly the JPQL ?

Thanks. Mauro.
Previous Topic: Join on concatenated columns
Next Topic:How to get a list of active CacheCoordination members?
Goto Forum:
  


Current Time: Thu Aug 21 14:17:12 EDT 2014

Powered by FUDForum. Page generated in 0.01413 seconds