1 Reply Latest reply on May 12, 2003 7:46 AM by pstrotmann

    db2 maps Date to Blob

    pstrotmann Newbie


      I'm using DB2 PE 8.1 as my JBOSS-Database server.
      I have a CMP-Field of Java Type Date, DB2 maps it to a
      Binary Large Object (BLOB (2000)), which blames, when I try to set the date, of course. Which java- type should be used to get a suitable mapping?


      ps. Postgres maps the same Java-Date CMP-Field to a timestamp-Collumn.