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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • 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
    • Documentation
    • None
    • Annotations Test and MySQL

    • Not Required

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              mistysj Misty Stanley-Jones (Inactive)
              jpkroehling@redhat.com Juraci Paixão Kröhling (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: