Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Option to format generated SQL when output?
Option to format generated SQL when output? [message #643363] Mon, 06 December 2010 11:26 Go to next message
Karsten Wutzke is currently offline Karsten Wutzke
Messages: 112
Registered: July 2009
Senior Member
Hello,

I found the settings
      <property name="eclipselink.logging.level" value="INFO" />
      <property name="eclipselink.logging.level.sql" value="FINE" />

to configure the EclipseLink logger individually, which is very nice. However, the generated SQL that is sent to the DB is unformatted - pretty unreadable.

Hibernate uses

      <property name="hibernate.format_sql" value="true" />

for that purpose and it's quite nice.

Is there such a setting to format the generated SQL in EclipseLink, too?

Karsten
Re: Option to format generated SQL when output? [message #644115 is a reply to message #643363] Thu, 09 December 2010 10:25 Go to previous message
James Sutherland is currently offline James Sutherland
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

There is no such option. Please log an enhancement request and vote for it.

How do you want the SQL to be formatted?


James : Wiki : Book : Blog : Twitter
Previous Topic:Eclipselink 2.0 + WebLogic 10 => No joy
Next Topic:problems setting javaagent in glassfish v3 with eclipselink 2.0
Goto Forum:
  


Current Time: Tue Jul 22 17:34:39 EDT 2014

Powered by FUDForum. Page generated in 0.02047 seconds