It's possible, although I'm not sure and could be very wrong, that when Torque throws that exception, it also returns the connection to the pool.
What id method are you using on that table? I'm guessing you're using "none" since you are supplying the pk that's giving you the first exception.
Eric
I'm using the TDK 2.2.01 and have it working with my oracle database and
velocity templates. My trouble is that when i try to insert a record that
already exists (pk violation), an exception is thrown. i can catch the
exception, but when i try to call select on the peer, the connection object
is null and an exception is thrown there.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
