I'm using hsqldb. My tables have IDENTITY type primary keys. This column
is automatically populated by the db with the next integer. I would like
to retain the ability to perform batch/debug inserts with SQL. For this
reason, I expect that I can't use the ojb sequence managers because they
wouldn't be aware of pk values inserted by the db using sql. I've tried
to store a new object but ojb tries to do an update of the record where
the pk = null instead of an insert. It seems that ojb doesn't recognize
my store invocation to be storing an new object but rather tries to do
an update. I've read many similar problems in the archive but no
responses have a good solution.

Thanks for you help in advance.

Ken


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

Reply via email to