This content has been marked as final.
Show 3 replies
-
1. Re: not allowing nulls in numeric fields in db
dsundstrom Jul 24, 2002 1:47 AM (in response to bsreekanth)What is the type of the Java field?
-
2. Re: not allowing nulls in numeric fields in db
bsreekanth Jul 24, 2002 11:27 AM (in response to bsreekanth)It's a int. But as Iam not updating that field by calling it's set method, Iam expecting a null in db field.
thanks -
3. Re: not allowing nulls in numeric fields in db
dsundstrom Jul 28, 2002 1:19 AM (in response to bsreekanth)The EJB specification requires that all cmp-fields be initialized to java defaults, so an int is initialized to 0.