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)

Maybe that should be somewhere added to HHH-2942.

Activity

Brett MeyerMarch 7, 2014 at 5:30 PM

Bulk closing rejected tickets in "resolved" state.

Strong LiuNovember 25, 2011 at 10:06 AM

Former userFebruary 23, 2011 at 6:20 PM

Duplicate

Details

Assignee

Reporter

Components

Affects versions

Priority

Created February 23, 2011 at 5:33 PM
Updated March 7, 2014 at 5:30 PM
Resolved November 25, 2011 at 10:06 AM

Flag notifications