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

CLONE -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
    • TBD
    • EAP 5.0.0.CR1, EAP 5.0.0.BETA, EAP 5.0.0.CR2, EAP 5.0.0.CR3, EAP 5.0.0.CR4 (FCS and BETA2), EAP 5.0.0.CR5, EAP 5.0.0
    • Hibernate
    • None
    • Annotations Test and MySQL

    • Not Required

      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:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: