When you'e using the type int for your primary key (as opposed to
using Integer), then there isn't a language-provided 'null' value.
However OJB needs such a null value in order to determine whether the
object has already be stored (pk != null) or not. For the primitive
type int, the null value is therefore definied as 0.
I'd suggest you either don't use 0 for your pks or (better) change
your PK to Integer.

Tom

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

Reply via email to