Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
JBossAS-3.2.6 Final
-
None
Description
SourceForge Submitter: zds0 .
JBoss 3.2.1, Red Hat Linux 6.2, Sun JVM 1.4.2
JBoss throws NullPointerException when it loads CMP
entity bean from database if CMP field has type int and
there is value NULL in database. This happens at least
with EJB 1.1 CMP entity beans.
Attached is a patch against JBoss 3.2.1 that fixes this
problem by setting the field value to 0 and whining to log.