Skip to main content

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 16:26 Go to next message
Karsten Wutzke is currently offline Karsten WutzkeFriend
Messages: 122
Registered: July 2009
Senior Member

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?

Re: Option to format generated SQL when output? [message #644115 is a reply to message #643363] Thu, 09 December 2010 15:25 Go to previous message
James Sutherland is currently offline James SutherlandFriend
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: Thu Apr 09 05:45:24 GMT 2020

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

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

Back to the top