Re: removal aware list

2006-09-21 Thread Armin Waibel

Hi Dennis,

Dennis Bekkering wrote:

Richter,

I use 1.04 and explicitly configured ojb not to use a RemovalAwareList. I
explicitly configured ojb to use a ManageableArrayList. But still i get a
RemovalAwareList out of the proxy class's getData method.



I tried to reproduce your test (m:n reference + proxy) without success - 
I always get a ManageableArrayList instance. I'm using latest from SVN 
(OJB_1_0_RELEASE branch).

Could you exactly describe how to reproduce your problem.

regards,
Armin



regards,
Dennis

2006/9/19, Edson Carlos Ericksson Richter 
[EMAIL PROTECTED]:


As name said, it's a Removal Aware. If you don't wish objects removed,
don't use RemovarAware. The default implementation is not
RemovalAwareList, so it's sufficient to remove the specific
implementation on mapping.

IT: some older versions of OJB used RemovalAwareList as default - so,
please, if you are not using 1.0.3 or 1.0.4, upgrade your version (check
mail list about changes that could affect your upgrade).

Regards,

Richter



Dennis Bekkering escreveu:
 Hello all,

 I have an M:N collection that has a ManageableArrayList as collection
 class
 and proxy set to true. But when the collection is materialized the
 underlying implementation becomes RemovalAwareList. When i remove
 items from
 that list the records are also deleted. I tried to find out how that 
can

 happen with the debugger but i cannot find out why.

 regards,
 Dennis





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







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



Re: removal aware list

2006-09-21 Thread Edson Carlos Ericksson Richter
Yes, I have a system with about 600 entities, several are M:N, and all 
are proxies.

I can't reproduce either.
I'm using 1.0.3.

Regards,

Richter


Armin Waibel escreveu:

Hi Dennis,

Dennis Bekkering wrote:

Richter,

I use 1.04 and explicitly configured ojb not to use a 
RemovalAwareList. I
explicitly configured ojb to use a ManageableArrayList. But still i 
get a

RemovalAwareList out of the proxy class's getData method.



I tried to reproduce your test (m:n reference + proxy) without success 
- I always get a ManageableArrayList instance. I'm using latest from 
SVN (OJB_1_0_RELEASE branch).

Could you exactly describe how to reproduce your problem.

regards,
Armin



regards,
Dennis

2006/9/19, Edson Carlos Ericksson Richter 
[EMAIL PROTECTED]:


As name said, it's a Removal Aware. If you don't wish objects 
removed,

don't use RemovarAware. The default implementation is not
RemovalAwareList, so it's sufficient to remove the specific
implementation on mapping.

IT: some older versions of OJB used RemovalAwareList as default - so,
please, if you are not using 1.0.3 or 1.0.4, upgrade your version 
(check

mail list about changes that could affect your upgrade).

Regards,

Richter



Dennis Bekkering escreveu:
 Hello all,

 I have an M:N collection that has a ManageableArrayList as collection
 class
 and proxy set to true. But when the collection is materialized the
 underlying implementation becomes RemovalAwareList. When i remove
 items from
 that list the records are also deleted. I tried to find out how 
that can

 happen with the debugger but i cannot find out why.

 regards,
 Dennis





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







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







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

Re: removal aware list

2006-09-21 Thread Dennis Bekkering

I tried to reproduce your test (m:n reference + proxy) without success -
I always get a ManageableArrayList instance. I'm using latest from SVN
(OJB_1_0_RELEASE branch).
Could you exactly describe how to reproduce your problem.

regards,
Armin


While describing i found out that there was another M:N collection
that did not specified the collection class. While stepping i thought
it was the other, thanks and sorry to have bothered you with this
because nothing is wrong.

Cheers,
Dennis

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



Re: removal aware list

2006-09-20 Thread Dennis Bekkering

Richter,

I use 1.04 and explicitly configured ojb not to use a RemovalAwareList. I
explicitly configured ojb to use a ManageableArrayList. But still i get a
RemovalAwareList out of the proxy class's getData method.

regards,
Dennis

2006/9/19, Edson Carlos Ericksson Richter 
[EMAIL PROTECTED]:


As name said, it's a Removal Aware. If you don't wish objects removed,
don't use RemovarAware. The default implementation is not
RemovalAwareList, so it's sufficient to remove the specific
implementation on mapping.

IT: some older versions of OJB used RemovalAwareList as default - so,
please, if you are not using 1.0.3 or 1.0.4, upgrade your version (check
mail list about changes that could affect your upgrade).

Regards,

Richter



Dennis Bekkering escreveu:
 Hello all,

 I have an M:N collection that has a ManageableArrayList as collection
 class
 and proxy set to true. But when the collection is materialized the
 underlying implementation becomes RemovalAwareList. When i remove
 items from
 that list the records are also deleted. I tried to find out how that can
 happen with the debugger but i cannot find out why.

 regards,
 Dennis





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





--
mvg,
Dennis


Re: removal aware list

2006-09-19 Thread Edson Carlos Ericksson Richter
As name said, it's a Removal Aware. If you don't wish objects removed, 
don't use RemovarAware. The default implementation is not 
RemovalAwareList, so it's sufficient to remove the specific 
implementation on mapping.


IT: some older versions of OJB used RemovalAwareList as default - so, 
please, if you are not using 1.0.3 or 1.0.4, upgrade your version (check 
mail list about changes that could affect your upgrade).


Regards,

Richter



Dennis Bekkering escreveu:

Hello all,

I have an M:N collection that has a ManageableArrayList as collection 
class

and proxy set to true. But when the collection is materialized the
underlying implementation becomes RemovalAwareList. When i remove 
items from

that list the records are also deleted. I tried to find out how that can
happen with the debugger but i cannot find out why.

regards,
Dennis




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