I'm having a problem, and I'm not sure wether it is because of my lack of knowledge of the ODMG standard or maybe a bug of OJB. I try to do the following:

- Create a new object.
- After asigning a value to the primary key field, make persistent.
- Modify some other fields.
- Delete the object (i.e. deletePersistent())

After a commit I think the PB should do nothing because it is a new object that has been deleted later, but the states this object are the following:

- Deleting the object: StateNewDirty -> StateNewDelete
- Making the commit: StateNewDelete -> StateNewDirty and StateNewDirty -> StateOldClean

So, after all, the object gets inserted into the DB.

I would like to know what I'm doing wrong. Thank you in advance.

Jose Maria.



--
To unsubscribe, e-mail: <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>

Reply via email to