db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tulsi Das <quixote_...@yahoo.com>
Subject Re: Printing SQL
Date Thu, 04 Dec 2003 22:57:06 GMT
uuuooops, you're right!

tulsi

 --- Scott Eade <seade@backstagetech.com.au> escribió: 
> This will log selects, but not inserts and updates.
> 
> Scott
> 
> -- 
> Scott Eade
> Backstage Technologies Pty. Ltd.
> http://www.backstagetech.com.au
> 
> 
> Tulsi Das wrote:
> 
> >or, better yet, you can setup Log4J to DEBUG level, and all queries
> get
> >printed out to wherever you've configured it.
> >
> >tulsi
> >
> >
> > --- Jeff Rasmussen <jrasmussen@lnxi.com> escribió: 
> >  
> >
> >>This should work. I've been using it.
> >>
> >>Criteria crit = new Criteria();
> >>....
> >>....
> >>....
> >>System.out.println(crit.toString());
> >>
> >>Jeff Rasmussen
> >>
> >>On Thu, 2003-12-04 at 15:13, Sonu Vijay wrote:
> >>    
> >>
> >>>Hi,
> >>>Can we print the actual SQL that is made out of the
> >>>Criteria.
> >>>My selects work but inserts don't, I need to see the
> >>>SQL as the following stack trace indicated syntax
> >>>errors.
> >>>
> >>>Thanks
> >>>
> >>>Vijay
> >>>      
> >>>
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>  

------------
Los mejores usados y las más tentadoras 
ofertas de 0km están en Yahoo! Autos.
Comprá o vendé tu auto en
http://autos.yahoo.com.ar

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message