Hi,

I use OJB 1.0.0 inside of JBoss 3.2.3.
how to handle the following condition:

First I try to insert a row. This fails because of one required field wasn't filled and the transaction is rolled back.
After that I try to insert the same row again, this time with correct data. OJB then generates a update statement instead of a
insert statement and reports no kind of error. There are two things I don't understand:


1) why the objects are not removed from cache if the transaction is rolled back? Do I have to handle this and how?
2) why the SQL return code isn't checked for the number of updated rows. It would be possible to see in the return code that
there was no row updated, so it is clear that the cache must have been invalid.


Thanks in advance ab best regards,

Guido

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



Reply via email to