Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-1063

MySQL doesn't supports miliseconds/microseconds in TIME, TIMESTAMP and alikes, causing test to fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 4.2.0.GA_CP04, 4.3.0.GA_CP02, 4.2.0.GA_CP05, 4.3.0.GA_CP03, 4.2.0.GA_CP06, 4.3.0.GA_CP04, 4.2.0.GA_CP07, 4.3.0.GA_CP05
    • Hibernate
    • None
    • Annotations Test and MySQL

    • Release Notes

      Test org.hibernate.test.annotationsEntityTest#testTemporalType fails because MySQL doesn't supports miliseconds/microseconds when returning database values [1]

      If the miliseconds checking is necessary, this test should be skipped for MySQL. If the test is good enough to validate the date/time, without the miliseconds, then the Long value of 1223672443 should be changed to 1223672000.

      [1] http://bugs.mysql.com/bug.php?id=8523

              rhn-engineering-ebernard Emmanuel Bernard
              jpkroehling@redhat.com Juraci Paixão Kröhling (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: