> As you suggested, this is the old int/Integer problem. In OJB 
> the prefered way is to avoid primitives datatypes (as int, 
> boolean) and use only Object datatypes (as Integer, Boolean).
> 
> I think the problem can be solved at the docs. If not then 
> how we can test a int to null in Java? ;)

Yeah I guess the best fix is in the docs. 

Or if ojb_version==0 then
'UPDATE MyClassTable SET ojb_version='1', ... WHERE id='723' AND
(ojb_version='0' OR ojb_version is NULL)'

The issue about it not always failing puzzled me a little. I'll try and
get a test case to reproduce it...

Rob :)

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

Reply via email to