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

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 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
    • Fix Version/s: TBD
    • Component/s: Hibernate
    • Labels:
      None
    • Environment:

      Annotations Test and MySQL

    • Release Notes Docs Status:
      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  epbernard Emmanuel Bernard
                  Reporter:
                  juraci.costa Juraci Paixão Kröhling
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: