I'm having a problem with updates. I haven't had this problem in the past with OJB, and thought I'd throw out a question before I start stepping through the code. I've been using OJB for the last 18 months and don't remember seeing this problem.

I query OJB to get my object to update, using the primary key. I update the object, then call broker.store to update the object. However, the object, which is defined in th repository with "autoincrement=true" for the primary key, is INSERTed and NOT updated. I've tried this with HSQLDB and ORACLE. It's happening with both.

I'm using release candidate 4 of OJB.

Any hints are greatly appreciated.

Oh, and I've tried explicitly telling OJB to do an update not an insert.

:(
--
Charles E Brault
[EMAIL PROTECTED]
"Where are we going, and why am I in this handbasket?"


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



Reply via email to