TS: Postgresql 8.2 - case sensitive identifiers fails BasicOperationsTest
Description
org.hibernate.test.annotations.dataTypes.BasicOperationsTest.testCreateAndDelete fails because it uses uppercase identifiers for querying metadata through JDBC. I suggest modifying the identifiers according to connection.getMetaData().storesLowerCaseIdentifiers() and friends.
When this is fixed, the test fails because the SomeOtherEntity tries to store char containing zero byte:
org.postgresql.util.PSQLException: Zero bytes may not occur in string parameters. at org.postgresql.core.v3.SimpleParameterList.toString(SimpleParameterList.java:163)
org.hibernate.test.annotations.dataTypes.BasicOperationsTest.testCreateAndDelete
fails because it uses uppercase identifiers for querying metadata through JDBC.
I suggest modifying the identifiers according to
connection.getMetaData().storesLowerCaseIdentifiers()
and friends.
When this is fixed, the test fails because the SomeOtherEntity tries to store char containing zero byte:
org.postgresql.util.PSQLException: Zero bytes may not occur in string parameters.
at org.postgresql.core.v3.SimpleParameterList.toString(SimpleParameterList.java:163)
Maybe that should be somewhere added to HHH-2942.