0 Replies Latest reply on Apr 9, 2003 5:34 AM by ericmacau

    CMP2.0 DATE type problem?

    ericmacau

      Hello,

      On of data type of my property is java.util.Date.

      In the database table, I define the field as DATE.

      When I retrieve the EJB, it always get null in that field. But there is a DATE value in the table.

      If I change the database table by using DATETIME type,
      it works, and can return the value in the table.


      What's wrong with it?

      Environments:
      JBoss3.0.6
      JDK1.4.1
      MySQL 3.23.x
      Win98


      Best regards,
      Eric