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 RE: Problems with save() method with Peer class
Date Thu, 07 Aug 2003 15:35:30 GMT
I solved my problem. My Torque.properties files was wrong. I found a
message on some other mailing list (thanks Google) and now its working.

I appreciate all of your help.

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

I'm getting a TorqueException with I do Torque.init(propfile). It
doesn't give me anymore detail than that.

Matt

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

Okay, I initialize torque and get a different error now:

java.lang.NullPointerException: There was no DataSourceFactory
configured for the connection ontrack

Matt

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

Well I've come to the conclusion that I'm an idiot and I wasn't calling
Torque.init(String filename);

Let me try this first.

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


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


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