0 Replies Latest reply on Sep 25, 2002 3:26 AM by David Hickman

    NullPointer Exception on beans with Date fields

    David Hickman Newbie

      When I try to create a bean which includes a Date field the create method is throwing a NullPointer exception.

      The date variables in both the Bean class and the PrimaryKey class are instances of java.sql.Date.

      The mapping in jaws is:

      <java-type>java.sql.Date</java-type>
      <jdbc-type>DATE</jdbc-type>
      <sql-type>DATE</sql-type>


      Other beans that do not include date fields work fine

      All help appreciated.