Re: Torque with more dynamic DB connections...

2004-01-06 Thread Ekkehard Kraemer
On Mon, 05 Jan 2004 17:29:25 -0600, Rob Gordon [EMAIL PROTECTED] wrote: I have been following thread regarding using a TorqueInstance with multiple databases, etc. I have a similar wish and a proposed solution, if I can get the eyes/ears of a developer. I want to be able to use the same tables

Re: Torque with more dynamic DB connections...

2004-01-06 Thread Hassan Abolhassani
Hi, When I try to insert a row in a table with autoincrement id I get the following exception: org.apache.torque.TorqueException: IdGenerator for table 'HOSPITAL' is null It was working before in mysql but when I moved to postgresql it is not working anymore. I

Problem with postgresql

2004-01-06 Thread Hassan Abolhassani
In the previous mail subject was not appropriate, I resend with more appropriate subject. Sorry for any inconvenience. Hi, When I try to insert a row in a table with autoincrement id I get the following exception: org.apache.torque.TorqueException: IdGenerator for table

Re: Problem with postgresql

2004-01-06 Thread Scott Eade
Hassan Abolhassani wrote: In the previous mail subject was not appropriate, I resend with more appropriate subject. Sorry for any inconvenience. Hi, When I try to insert a row in a table with autoincrement id I get the following exception:

Re: UNABLE TO CONFIGURE TORQUE AS A STANDALONE

2004-01-06 Thread suneel gupta
I WANT TO CONFIGURE TORQUE OUTSIDE TURBINE BUT IT CREATES SOME PROBLEM. FIRSTLY I HAVE DOWNLOAD THE torque-3.1-src.tar AND ALSO JAR

RE: Torque with more dynamic DB connections...

2004-01-06 Thread mkblueyonder
Hi Rob, I have faced the same problem and use patched Peer.vm and MapBuilder.vm sources. So would like to see a kosher solution for 2.4. (or 2.3x). It seemed easier to leave DATABASE_NAME in place but initialise it with a static getDatabaseName() method. I did this with a method outside Torque