Pfiester, Jan wrote:
> Thx for that one,
> I've try your latest hint too, but i didn't know that you can check
> zero references like you did!
>
>> criteria.add(AdressenreferenzPeer.KUNDENADRESS_ID, ??0??,
>> Criteria.ISNULL);
>
> In your criteria what is the second param in the signature doing?
> What is the 0 indicating?
You can as well use
criteria.add(AdressenreferenzPeer.KUNDENADRESS_ID, NULL);
This is mapped internally but I consider the explicit ISNULL comparison
being easier to read. That's why the dummy parameter.
Bye, Thomas.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]