euchi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 4:50 PM
To: OJB Users List
Subject: Re: Antwort: RE: How to map optional 1:1 relationship
hi gerhard,
sorry, i posted to wrong code. this is it:
protected void associateBatched(Collection owners, Collection chi
Hi Jakob,
Yes, your patch did the trick! No more selects with id = null. Thanks!
Gerhard
Jakob Braeuchi <[EMAIL PROTECTED]>
15.10.2003 17:56
An: [EMAIL PROTECTED]
Kopie:
Thema: [Fwd: Re: Antwort: RE: How to map optional 1:1 relationship]
- Nac
Hi Jakob,
I have implemented your code and it works wonderfully!
Many thanks,
Carl.
-Original Message-
From: Jakob Braeuchi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 4:50 PM
To: OJB Users List
Subject: Re: Antwort: RE: How to map optional 1:1 relationship
hi
17:17
Bitte antworten an "OJB Users List"
An: OJB Users List <[EMAIL PROTECTED]>
Kopie:
Thema: Re: Antwort: RE: How to map optional 1:1 relationship
hi carl,gerhard,
your right, fkValues may be null and thus a query will be fired.
can you confirm this g
An: OJB Users List <[EMAIL PROTECTED]>
Kopie:
Thema: Re: Antwort: RE: How to map optional 1:1 relationship
hi carl,gerhard,
your right, fkValues may be null and thus a query will be fired.
can you confirm this gerhard ?
jakob
Boyes, Carl wrote:
Hi Jakob, Gerh
sNull(fkValues) so
#associateBatched should probably do the same.
Gerhard
Jakob Braeuchi <[EMAIL PROTECTED]>
15.10.2003 17:17
Bitte antworten an "OJB Users List"
An: OJB Users List <[EMAIL PROTECTED]>
Kopie:
Thema: Re: Antwort: RE: How to ma
Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 3:59 PM
To: OJB Users List
Subject: Re: Antwort: RE: How to map optional 1:1 relationship
Hi Jakob,
I just checked and you are right.
Nevertheless I find a lot of statements like SELECT ... FROM
: Antwort: RE: How to map optional 1:1 relationship
Hi Jakob,
I just checked and you are right.
Nevertheless I find a lot of statements like SELECT ... FROM ... WHERE
id='' in my P6Spy logs, where id is a not nullable primary key. I was
assuming these were generated from resolving refer
pie:
Thema: Re: Antwort: RE: How to map optional 1:1 relationship
hi gerhard,
imo this is already implemented. see
PersistenceBrokerImpl#getReferencedObject:
...
// BRJ: check if we have non null pk values
// TBD we should also check primitives
// to avoid
hi gerhard,
imo this is already implemented. see
PersistenceBrokerImpl#getReferencedObject:
...
// BRJ: check if we have non null pk values
// TBD we should also check primitives
// to avoid creation of unmaterializable proxies
for (int i = 0; i < pkVals.length;
10 matches
Mail list logo