db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Braeuchi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OJB-23) RemovalAwareCollection tries to delete non persistent objects
Date Sun, 17 Apr 2005 13:11:59 GMT
     [ http://issues.apache.org/jira/browse/OJB-23?page=comments#action_62998 ]
Jakob Braeuchi commented on OJB-23:

fixes are available on CVS 1.1

PB#doDelete wil throw PBException when pks are not set.

> RemovalAwareCollection tries to delete non persistent objects
> -------------------------------------------------------------
>          Key: OJB-23
>          URL: http://issues.apache.org/jira/browse/OJB-23
>      Project: OJB
>         Type: Bug
>   Components: PB-API
>     Versions: 1.1 CVS, 1.0.4
>     Reporter: Jakob Braeuchi
>     Assignee: Jakob Braeuchi

> When adding an object to a RemovalAwareCollection and deleting
> before saving the collection, ojb tries to delete the non stored object.
> This results in an OptimisticLockException because OJB is
> trying to delete the object that was never in the table. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org

View raw message