--- Viktor Szathmary <[EMAIL PROTECTED]> wrote:
> hi,
>
> On Mon, 3 Feb 2003 09:32:39 +1100,
> [EMAIL PROTECTED] said:
> >
> > Are there proxies involved?
> >
>
> hopefully not :) it seems that there's actually two
> calls to
> nestedChild.setParent() on the same nestedChild
> instance - the s
On Mon, 3 Feb 2003 11:04:51 +1100, [EMAIL PROTECTED] said:
>
> Yeah, don't worry about the call from deepCopy(). I removed that
> in the latest CVS, since it was unnecessary. It should not have been
> actually *harmful*, however.
i was using hib2b2.. and i've also removed any usage of ... so
Sent by:cc: [EMAIL PROTECTED]
[EMAIL PROTECTED] Subject: Re: [Hibernate] hib2 - parent
in composite-element
hi,
On Mon, 3 Feb 2003 09:32:39 +1100, [EMAIL PROTECTED] said:
>
> Are there proxies involved?
>
hopefully not :) it seems that there's actually two calls to
nestedChild.setParent() on the same nestedChild instance - the second one
occurs during deepCopy, and blows away the value that was set f
hi,
On Sun, 2 Feb 2003 08:41:22 -0800 (PST), "jiesheng zhang"
<[EMAIL PROTECTED]> said:
>
> I use the Java code instead of Hibernate to keep the
> parent-child relationship.
yeah, that's a very reasonable approach, i just got bogged down in the
beauty of the hibenate :)
however, even with the s
I use the Java code instead of Hibernate to keep the
parent-child relationship.
For example suppose I have such a relationship
Parent-->Level1-->Level2
The class implementation could be like this
public class parent {
public void setChild(Level1 child){
if (child.getParent()==null)
child.set
hi,
On Fri, 31 Jan 2003 16:02:49 +1100, [EMAIL PROTECTED] said:
>
> private void setTopParent(TopLevelParent topParent) {
>this.parent = topParent.getComponent();
> }
>
>
> should do what you need ;)
ok, it does not :) unfortunately the call sequence is:
- nestedChild.setParent( toplevel
-
From: "Viktor Szathmary" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 31, 2003 4:07 PM
Subject: Re: [Hibernate] hib2 - parent in composite-element
> hi,
>
> On Thu, 30 Jan 2003 23:39:18 -0500, "Viktor Szathmary"
> <[EMAIL PROTECTED]&g
cc:
[EMAIL PROTECTED] Subject: [Hibernate] hib2 - parent in
composite-element
hi,
i decided to take the path of least resistance, and migrate to hib2 (took
about 5 minutes) to get support for ...
alas, i got an IllegalArgumentException: "argument type mismatch" when
it's calling the setter... it turns out the problem is more of a
misunderstanding - the for the nested comp
10 matches
Mail list logo