[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 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 > wrote: > >> Yes, but that only works for Hibernate. I use Hibernate from everything, >> but I'm

[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 wrote: > 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 wrote

[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 wrote: > > Otherwise you can enable it in the logging: > > log4j.logger.org.hibernate.SQL=DEBUG > > On Tue, Feb 10, 2009 at 7:50

[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 wrote: > Interesting idea. I'll look into adding something like this (configurable > at boot and/or runtime) into scalajpa. > > Derek > > > On 2/9/09, Oliver wrote

[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 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 verbose and un