This content has been marked as final.
Show 3 replies
-
1. Re: Null value in database table
fang Jul 16, 2002 5:07 PM (in response to fang)It's ok for Object types, but how about primitive types?
-
2. Re: Null value in database table
dsundstrom Jul 16, 2002 5:17 PM (in response to fang)Primitives can't be null (see the Java Language Specification); instead use a primitive wrapper (e.g., java.lang.Integer).
-
3. Re: Null value in database table
rpbrandon Jan 15, 2003 5:35 AM (in response to fang)Hi,
We're having the same problems here and our applications have to be deployed on multiple application servers.
It seems that WebLogic already takes care of this and returns e.g. 0.0 when retrieving a null value on a double field from the database. Why doesn't JBoss also take care of this?
Regards,
Raymond