[Stripes-users] persistence.xml viewing hibernate SQL statements

2010-10-25 Thread Lev
hi,

i am debugging an application and want to view all of the hibernate
generated SQL statements. i added the following line to my
persistence.xml:

   property name=hibernate.showSql value=true/

however, i only see the database messages related to the initial
table construction -- not the query statements. for example i see
statements such as:

8:22:08,383 DEBUG SchemaExport:303 - drop table if exists hibernate_sequences
18:22:08,386 DEBUG SchemaExport:303 - create table Line (id bigint not
null, type...

what do i need to do in order to view the hibernate generated queries?

note: i am using JPA, hibernate, and Stripersist.

thank you.

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] persistence.xml viewing hibernate SQL statements

2010-10-25 Thread Joaquin Valdez
I use:

  property name=hibernate.show_sql value=true/



On Oct 25, 2010, at 4:29 PM, Lev wrote:

 hi,
 
 i am debugging an application and want to view all of the hibernate
 generated SQL statements. i added the following line to my
 persistence.xml:
 
   property name=hibernate.showSql value=true/
 
 however, i only see the database messages related to the initial
 table construction -- not the query statements. for example i see
 statements such as:
 
 8:22:08,383 DEBUG SchemaExport:303 - drop table if exists hibernate_sequences
 18:22:08,386 DEBUG SchemaExport:303 - create table Line (id bigint not
 null, type...
 
 what do i need to do in order to view the hibernate generated queries?
 
 note: i am using JPA, hibernate, and Stripersist.
 
 thank you.
 
 --
 Nokia and ATT present the 2010 Calling All Innovators-North America contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Stripes-users mailing list
 Stripes-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com




--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] persistence.xml viewing hibernate SQL statements

2010-10-25 Thread Lev
thank you. that did the trick.

On Mon, Oct 25, 2010 at 6:35 PM, Joaquin Valdez
joaquinfval...@gmail.com wrote:
 I use:

  property name=hibernate.show_sql value=true/



 On Oct 25, 2010, at 4:29 PM, Lev wrote:

 hi,

 i am debugging an application and want to view all of the hibernate
 generated SQL statements. i added the following line to my
 persistence.xml:

   property name=hibernate.showSql value=true/

 however, i only see the database messages related to the initial
 table construction -- not the query statements. for example i see
 statements such as:

 8:22:08,383 DEBUG SchemaExport:303 - drop table if exists hibernate_sequences
 18:22:08,386 DEBUG SchemaExport:303 - create table Line (id bigint not
 null, type...

 what do i need to do in order to view the hibernate generated queries?

 note: i am using JPA, hibernate, and Stripersist.

 thank you.

 --
 Nokia and ATT present the 2010 Calling All Innovators-North America contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Stripes-users mailing list
 Stripes-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/stripes-users

 Joaquin Valdez
 joaquinfval...@gmail.com




 --
 Nokia and ATT present the 2010 Calling All Innovators-North America contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Stripes-users mailing list
 Stripes-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/stripes-users


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users