0 Replies Latest reply on Apr 8, 2003 12:39 AM by Eric Chow

    Always return NULL for Date type.

    Eric Chow Apprentice


      I use MySQL 4.0.11 gamma as the database for CMP persistence.

      One of my EJB type is Date, and I also defien the SQL type as DATE in deployment descriptor(jbosscmp-jdbc.xml).

      I also saw some valid date value can store in the database. Everything is fine.

      But when I tried to get the EJB back, all other properties are fine. I can get back of them, except all the Date field(the properties type is Date).

      It just return null.

      I am using JBoss3.0.6 + MySQL 4.0.11gamma in Windows98 with JDK1.4.1.

      Is there any bugs in JBoss3.0.6 to process Date data type?