db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Rasmussen <jrasmus...@lnxi.com>
Subject Re: Printing SQL
Date Thu, 04 Dec 2003 23:24:09 GMT
You could ( and should ) override this method in the Peer Class and note
the BasePeer Class.

Your Peer Classes Extend the BasePeer Classes and ant will over write
the changes in the Base and BasePeer Classes if you were to ever modify
your database schema.

If you 
On Thu, 2003-12-04 at 16:13, Sonu Vijay wrote:
>  I didn't want to go toward modifying the BasePeer but
> if that's the only way then I'll surely.
> 
> But I'm sure many people would like to see Inserts so
> probably turning that on or off dynamically would have
> been a good thing.
> 
> But maybe there were some reasons that I don't know
> of.
> 
> 
> 
> --- noel_fuentes@freddiemac.com wrote:
> > 
> > i actually tried it and it did not work. what's
> > happening is the insert or
> > update calls BasePeer and checks if debug is turned
> > on in log4j then prints
> > the where clause and nothing else.
> > 
> > you basically have to modify BasePeer (can't
> > remember exactly where) and
> > print the rest of the insert or update statements.
> > 
> > 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > torque-user-unsubscribe@db.apache.org
> > For additional commands, e-mail:
> > torque-user-help@db.apache.org
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> Free Pop-Up Blocker - Get it now
> http://companion.yahoo.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
> 
> 


---------------------------------------------------------------------
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