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:[EMAIL PROTECTED] 
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:[EMAIL PROTECTED] 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to