[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2767) TimestampType uses SimpleDateFormat, which does not include Timestamp nanoseconds

Alan Krueger (JIRA) noreply at atlassian.com
Fri Aug 3 16:11:11 EDT 2007


TimestampType uses SimpleDateFormat, which does not include Timestamp nanoseconds
---------------------------------------------------------------------------------

                 Key: HHH-2767
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2767
             Project: Hibernate3
          Issue Type: Bug
          Components: core
    Affects Versions: 3.2.2
         Environment: Hibernate 3.2.2
            Reporter: Alan Krueger
            Priority: Minor


TimestampType uses SimpleDateFormat when storing the value as a string, which does not include java.sql.Timestamp's nanoseconds.  This appears to mean that auto-flushes see Timestamp fields changing value when using EntityType.DOM4J when there is a nanosecond component to the timestamp.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list