Hi Edson,
I think with EmptyCache OJB cannot detect loops in your object
relations, because it does not maintain object identity. I'm afraid
you need to use some non-empty cache implementation or remove the
back-reference that causes the loop.
hth
Gerhard
On Wed, 29 Oct 2003 19:36:59 -0300,
Can you explain a bit more? I never seen inverse foreign keys in
references... How this apply in sample XML bellow?
- Original Message -
From: Emmanuel Dupont
To: 'OJB Users List'
Sent: Thursday, October 30, 2003 4:59 AM
Subject: RE : 1:1 navigable EmptyCache bug
Is it because you
Yes, I've done this yesterday, and it works. Thanks for the tip.
Edson Richter
- Original Message -
From: Gerhard Grosse
To: [EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 5:04 AM
Subject: Re: 1:1 navigable EmptyCache bug
Hi Edson,
I think with EmptyCache OJB
-descriptor
-Message d'origine-
De : Edson Carlos Ericksson Richter
[mailto:[EMAIL PROTECTED]
Envoyé : jeudi 30 octobre 2003 13:14
À : OJB Users List
Objet : Re: 1:1 navigable EmptyCache bug
Can you explain a bit more? I never seen inverse foreign keys in
references... How this apply in sample
Hi!
If using EmptyCache, and you have 1:1 navigable referenced objects, OJB goes to
infinite loop trying to load the references.
The problem appear in the following piece of XML:
class-descriptor
class=com.acme.People
proxy=dynamic
schema=ABC
table=PEOPLE