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

CastFunctionTest failing on most databases

    Details

    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      Mssql, testFloatCasting:
      com.microsoft.sqlserver.jdbc.SQLServerException: Explicit conversion from data type varbinary to float is not allowed.

      Mysql, testFloatCasting and testLongCasting:
      com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float) as col_0_0_ from MyEntity castfuncti0_' at line 1

      Oracle, all tests:
      java.sql.SQLSyntaxErrorException: ORA-00932: inconsistent datatypes: expected NUMBER got BINARY

      Postgresql, all tests:
      org.postgresql.util.PSQLException: ERROR: cannot cast type bytea to real
      Position: 8

        Attachments

          Issue links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 0.8h
                  0.8h