0 Replies Latest reply on Apr 8, 2003 7:21 PM by Misak Boulatian

    java.util.Date vs java.sql.Timestamp in EJB 2.0 cmp

    Misak Boulatian Newbie

      Can I use abstract getter and setter methods for java.util.Date in Jboss 3.04? Will it work? If not, can I add the following lines for my database (Sybase 12.5):


      I would really like to get some reply from Jboss group as well.
      With cmp 1.1 I've been declaring my date types to be java.sql.Timestamp and was doing conversions in the getter and setter methods. Unfortunately, with cmp 2.0 those getter and setters are abstract and for us it will be a big change to convert from java.util.Date to java.sql.Timestamp everywhere in the system. We need to find out for sure if that conversion is the only hope for us.
      Really appreciate the help.