Re: PB behavor of Collection item delete ?

2006-03-09 Thread ABOU LINA
thank first, PersistenceBroker *delete elements* from the database that have been removed from the collection only if i do this : for example : A 1:n B 1. i get A from database using OJB Broker. 2. i delete one element B from A : A.getBCollection().remove(o); in this case yes the PB delete the

Re: PB behavor of Collection item delete ?

2006-03-09 Thread Armin Waibel
Hi, ABOU LINA wrote: thank first, PersistenceBroker *delete elements* from the database that have been removed from the collection only if i do this : for example : A 1:n B 1. i get A from database using OJB Broker. 2. i delete one element B from A : A.getBCollection().remove(o); in this case

Re: PB behavor of Collection item delete ?

2006-03-09 Thread ABOU LINA
Hi, ok so, i made DAO implementation with OJB PB in a critical project and we are in step of delivring some module of the application (the mainly module now are developped and tested). my question is : 1. what will be the cost of migrating from PB to ODMG. ??? 2. there are some tools making

Re: PB behavor of Collection item delete ?

2006-03-09 Thread ABOU LINA
i think the coste of using ODMG is very big only looking how in ODMG we query an object. in ODMG it use OQL (like SQL synthaxis where ) so is very diferent to PB wiche use Criteria to build a condition ! what do you think Mr Armine On 3/9/06, ABOU LINA [EMAIL PROTECTED] wrote: Hi,

Re: PB behavor of Collection item delete ?

2006-03-09 Thread Armin Waibel
Hi, ABOU LINA wrote: Hi, ok so, i made DAO implementation with OJB PB in a critical project and we are in step of delivring some module of the application (the mainly module now are developped and tested). my question is : 1. what will be the cost of migrating from PB to ODMG. ??? There

Re: PB behavor of Collection item delete ?

2006-03-09 Thread Armin Waibel
ABOU LINA wrote: i think the coste of using ODMG is very big only looking how in ODMG we query an object. in ODMG it use OQL (like SQL synthaxis where ) so is very diferent to PB wiche use Criteria to build a condition ! what do you think Mr Armine As said in my other post, it's

PB behavor of Collection item delete ?

2006-03-07 Thread ABOU LINA
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

Re: PB behavor of Collection item delete ?

2006-03-07 Thread Armin Waibel
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