You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by "Jakob Braeuchi (JIRA)" <ji...@apache.org> on 2005/04/17 15:11:59 UTC
[jira] Commented: (OJB-23) RemovalAwareCollection tries to delete non persistent objects
[ 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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org