db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Reath" <matt.re...@cciinc.us>
Subject FW: Problems with save() method with Peer class
Date Thu, 07 Aug 2003 14:54:55 GMT


-----Original Message-----
From: Matt Reath [mailto:matt.reath@cciinc.us] 
Sent: Thursday, August 07, 2003 9:54 AM
To: 'Apache Torque Users List'
Subject: RE: Problems with save() method with Peer class

Andras,
I'll try the native method. 

Caoilte,

I get this error now.

org.apache.torque.TorqueException: Torque was not initialized properly.

How do I initialize it properly? I'm using Torque standalone in unit
tests right now, it will go in a Swing application.

Matt

-----Original Message-----
From: Andras Balogh [mailto:andras@reea.net] 
Sent: Thursday, August 07, 2003 9:48 AM
To: Apache Torque Users List
Subject: Re: Problems with save() method with Peer class


  ----- Original Message ----- 
  From: Matt Reath 
  To: 'Apache Torque Users List' 
  Sent: Thursday, August 07, 2003 5:39 PM
  Subject: RE: Problems with save() method with Peer class


  Andras,

  I've included my config files. I hope you can help. 



Hello Matt,

I just seen that you are using id_broker. I have never used it so i
don't know how it works.
BTW mysql supports autoincrement primary keys so you don't need
id_broker ..
you could use idMethod="native".
Probably you have a reason why you choosed id_broker, but i am on
foreign ground with it, sorry.


BW,

Andras.


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