Hi,

ABOU LINA wrote:
Hi,
in ojb document :
---------------------------------------
Say you use the PB to query an object O that has a collection attribute col
with five
elements a,b,c,d,e. Next you delete Objects d and e from col and store O
again with
PersistenceBroker.store(O);
PB will store the remaining objects a,b,c. But it will not delete d and e !
If you then
requery object O it will again contain a,b,c,d,e !!!
--------------------

i ask if the new version of PB (1.0.4) still behave like this ???

Oops! Seems you found some outdated documentation - I will fix this till next release. With corresponding settings OJB 1.0.4 is able to detect the deleted objects of the 1:n reference. More info see
http://db.apache.org/ojb/docu/guides/basic-technique.html#1%3An+auto-xxx+setting
http://db.apache.org/ojb/docu/guides/advanced-technique.html#which-collection-type

regards,
Armin



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

Reply via email to