1 Reply Latest reply on Jul 15, 2002 8:27 PM by Victor Rotaru

    Different returns in Date type CMP for diff commit options

    Victor Rotaru Newbie

      I don't know if this behavior has been already reported:

      JBoss 3.1.0.1 + Oracle9i

      Have an entity bean with a CMP type Date.
      Create entity bean with field set to behavior = new Date((long) 1.024989122763E12))

      When is retrieved back in container commit option: A
      I get dateRegister.getTime() = 1.024989122763E12
      BUT in commit options B,C I get
      dateRegister.getTime() = 1.024989122000E12

      Any thoughts?