Uploaded image for project: 'Hibernate ORM'
  1. HHH-10904

Fix tests failing when switching to MySQL

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.1, 5.1.4
    • Component/s: None
    • Labels:
      None

      Description

      There are lots of tests failing on MySQL. We need to fix those so that we can identify if there is a real issue underneath.

      hibernate-core:

      org.hibernate.test.id.array.ByteArrayIdTest > testMultipleDeletions FAILED
          javax.persistence.PersistenceException at ByteArrayIdTest.java:54
              Caused by: org.hibernate.exception.SQLGrammarException at ByteArrayIdTest.java:54
                  Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException at ByteArrayIdTest.java:54
          org.hibernate.exception.SQLGrammarException at ByteArrayIdTest.java:62
              Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException at ByteArrayIdTest.java:62
      
      org.hibernate.test.id.array.ByteArrayIdTest > testMultipleUpdates FAILED
          javax.persistence.PersistenceException at ByteArrayIdTest.java:54
              Caused by: org.hibernate.exception.SQLGrammarException at ByteArrayIdTest.java:54
                  Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException at ByteArrayIdTest.java:54
          org.hibernate.exception.SQLGrammarException at ByteArrayIdTest.java:62
              Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException at ByteArrayIdTest.java:62
      
      org.hibernate.test.id.array.PrimitiveByteArrayIdTest > testMultipleDeletions FAILED
          javax.persistence.PersistenceException at PrimitiveByteArrayIdTest.java:54
              Caused by: org.hibernate.exception.SQLGrammarException at PrimitiveByteArrayIdTest.java:54
                  Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException at PrimitiveByteArrayIdTest.java:54
          org.hibernate.exception.SQLGrammarException at PrimitiveByteArrayIdTest.java:62
              Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException at PrimitiveByteArrayIdTest.java:62
      
      org.hibernate.test.id.array.PrimitiveByteArrayIdTest > testMultipleUpdates FAILED
          javax.persistence.PersistenceException at PrimitiveByteArrayIdTest.java:54
              Caused by: org.hibernate.exception.SQLGrammarException at PrimitiveByteArrayIdTest.java:54
                  Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException at PrimitiveByteArrayIdTest.java:54
          org.hibernate.exception.SQLGrammarException at PrimitiveByteArrayIdTest.java:62
              Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException at PrimitiveByteArrayIdTest.java:62
      
      org.hibernate.test.schemaupdate.QuotedTableNameSchemaUpdateTest > testSchemaUpdateWithQuotedTableName FAILED
          java.lang.AssertionError at QuotedTableNameSchemaUpdateTest.java:80
      
      org.hibernate.test.schemaupdate.idbag.IdBagSequenceTest > testIdBagSequenceGeneratorIsCreated FAILED
          java.lang.AssertionError at IdBagSequenceTest.java:56
      
      org.hibernate.test.sorted.SortTest > testOrderBy FAILED
          javax.persistence.PersistenceException at SortTest.java:113
              Caused by: org.hibernate.exception.SQLGrammarException at SortTest.java:113
                  Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException at SortTest.java:113
      

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: