RE: Torque with more dynamic DB connections, avoiding singleton and statics?

2004-01-02 Thread Jiaqi Guo
=.. . Torque.database.another=dsf2 Torque.dsfactory.dsf2.factory=.. . At runtime you can call it dynamically: Connection dbcon1 = Torque.getConnection(); //Get a connection for default database Connection dbcon2 = Torque.getConnection(another); Regards Jiaqi Guo email: [EMAIL PROTECTED] site: http

Skip a field when generate object models?

2003-11-09 Thread Jiaqi Guo
Is there any way to mark a column to be skipped when generate java classes. Which means I don't want Torque know this column at runtime, just need it in ???-schema.sql. Thanks Jiaqi Guo   [EMAIL PROTECTED] http://cyclops-group.sourceforge.net

Solution for Oracle Clob and Blob

2003-11-09 Thread Jiaqi Guo
It seems we need different code to access Clob and Blob in Oracle. Any suggestions? Thanks Jiaqi Guo   [EMAIL PROTECTED] http://cyclops-group.sourceforge.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Torque Maven plugin, failed to execute torque:insert-sql

2003-10-21 Thread jiaqi guo
Torque:om, torque:sql, torque:datadtd... works great. Got error message when executing torque:insert-sql. - __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-beta-10