Re: AW: ANT UNABLE TO FIND CLASS

2004-02-02 Thread suneel gupta
> THANK YOU SIR FOR YOUR RESPONSE. > SO I HAVE DOWNLOAD THE apache-ant-1.6.0-bin.ZIP and > unzip it.after that i have set the ANT_HOME AND > THEIR > PATH IN THE ~/.bashrc.Also i have set ant.jar which > is > in the lib directory of apache-ant-1.6.0 in the > classpath in the ~/.bashrc file. > >

RE: Torque Objects for multiple databases

2004-02-02 Thread Humberto Hernandez Torres
As I said. As far as I know the same model should work for several database products. I took a brief look at the om generation templates and I didn't see anything database specific. Although there are some references specific to the id method used. But I may be wrong. It wouldn't be the first time

Re: Torque Objects for multiple databases

2004-02-02 Thread Rob Gordon
> > > > > move all db specific stuff from the generated classes to the base > > classes (so you don't have to regenerate the modell for different dbs) > > So this pretty much provides a "No" answer to your question. > > I believe Rob's work involves support for multiple databases using the > same s

Re: Torque Objects for multiple databases

2004-02-02 Thread Scott Eade
Eric Pugh wrote: When you compile some Torque objects for one database platform. Will they work against a different database? Or do you need to compile them for each type of database? Any approachs on how to handle the multiple different types of database at run time versus compile time? Eric,

Re: IDBroker warning

2004-02-02 Thread Scott Eade
Edwin Yearwood wrote: Has any one seen the following message before?, and if you have can you help me out with the solution "[WARN] IDBroker - -IDBroker is being used with db 'DATABASE', which does not support transactions...". What RDBMS are you using? This message will typically appear when

RE: Torque Objects for multiple databases

2004-02-02 Thread Hans Lellelid
> AFIK. The torque OMs can work gainst any database. The sql files do need > to > be generated for the specific database. There is (as pointed out in another email) an assumption that the database name is the same. Additionally, I believe that there are (unless recently changed) some cases wheth

Re: Torque Objects for multiple databases

2004-02-02 Thread Rob Gordon
Humberto Hernandez Torres wrote: > AFIK. The torque OMs can work gainst any database. This is not true. The Peer code has the database name for which they were generated hardcoded into them. Although, there are some methods which give impression you can change the database for which a OM class

java.sql.SQLException: invalid arguments in call when running "Bo ok" example

2004-02-02 Thread Travis . Prescott
My apologies for the newbie question...The FAQ list had no information about this. I can generate code for the sample Torque application and it will auto-generate the database. However, when I try to run the sample test application, I get the following error and associated stack trace. Perhaps o

RE: Torque Objects for multiple databases

2004-02-02 Thread Eric Pugh
Excellent! I looked over the code, and it did seem that way.. So, for multiple database support, I could change my ant task to spit out multiple versions of the sql per database, but use the same torque OM classes for all of them. thanks, Eric > -Original Message- > From: Humberto Herna

RE: Torque Objects for multiple databases

2004-02-02 Thread Humberto Hernandez Torres
AFIK. The torque OMs can work gainst any database. The sql files do need to be generated for the specific database. -- Humberto > -Original Message- > From: Eric Pugh [mailto:[EMAIL PROTECTED] > Sent: Monday, February 02, 2004 10:45 AM > To: [EMAIL PROTECTED] > Subject: Torque Objects fo

Torque Objects for multiple databases

2004-02-02 Thread Eric Pugh
When you compile some Torque objects for one database platform. Will they work against a different database? Or do you need to compile them for each type of database? Any approachs on how to handle the multiple different types of database at run time versus compile time? ERic

IDBroker warning

2004-02-02 Thread Edwin Yearwood
Hi All, Has any one seen the following message before?, and if you have can you help me out with the solution "[WARN] IDBroker - -IDBroker is being used with db 'DATABASE', which does not support transactions...". Thanks. Edwin Yearwood Developer BTG Reuters Telephone +44 (0)208 5

Retrieving large list of id objects problem

2004-02-02 Thread Felipe Ramos
I'm working with Torque 3.1 and I need to catch a List of ids of a table of customers ( I only need their ids). That table can have thousands of rows, and each row has a lot of columns, so using Criteria to catch a list of thousands of customer objects is very inefficient and very, very, slow