[Lift] Re: JTA showSQL

2009-02-10 Thread Viktor Klang
Otherwise you can enable it in the logging: log4j.logger.org.hibernate.SQL=DEBUG On Tue, Feb 10, 2009 at 7:50 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: Interesting idea. I'll look into adding something like this (configurable at boot and/or runtime) into scalajpa. Derek On

[Lift] Re: JTA showSQL

2009-02-10 Thread Derek Chen-Becker
Yes, but that only works for Hibernate. I use Hibernate from everything, but I'm trying to keep the library usable for any JPA provider. Derek On 2/10/09, Viktor Klang viktor.kl...@gmail.com wrote: Otherwise you can enable it in the logging: log4j.logger.org.hibernate.SQL=DEBUG On Tue, Feb

[Lift] Re: JTA showSQL

2009-02-10 Thread Viktor Klang
Is there a JPA defined way to turn loggin of DML on? On Tue, Feb 10, 2009 at 3:45 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: Yes, but that only works for Hibernate. I use Hibernate from everything, but I'm trying to keep the library usable for any JPA provider. Derek On 2/10/09,

[Lift] Re: JTA showSQL

2009-02-10 Thread Derek Chen-Becker
Everything I've ever seen has been provider-specific. On 2/10/09, Viktor Klang viktor.kl...@gmail.com wrote: Is there a JPA defined way to turn loggin of DML on? On Tue, Feb 10, 2009 at 3:45 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: Yes, but that only works for Hibernate. I use

[Lift] Re: JTA showSQL

2009-02-09 Thread Derek Chen-Becker
Interesting idea. I'll look into adding something like this (configurable at boot and/or runtime) into scalajpa. Derek On 2/9/09, Oliver ola...@gmail.com wrote: Hi Derek and interested parties I know there is a showSQL option that can be enabled with JTA/Hibernate but I find the output