1 Reply Latest reply on Apr 18, 2002 4:25 AM by chgrimm

    jaws: Oracle8 type mapping for java.util.Date

    chgrimm

      in the standardjaws.xml file there is no type mapping
      for Oracle8 / java type java.util.Date

      in some other postings it is suggested to use java.sql.Date instead

      i think, i found an other solution, that allowed me to use java.util.Date in an CMP EntityBean:

      i added the following to the Oracle8 type mappings in
      standardjaws.xml


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


      for me this worked.

      if this solution also works for others, it should be added to the distributions standardjaws.xml document.