[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5956) TS: Postgresql 8.2 - case sensitive identifiers fails BasicOperationsTest
Ondra Žižka (JIRA)
noreply at atlassian.com
Wed Feb 23 10:34:08 EST 2011
TS: Postgresql 8.2 - case sensitive identifiers fails BasicOperationsTest
-------------------------------------------------------------------------
Key: HHH-5956
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5956
Project: Hibernate Core
Issue Type: Bug
Components: testsuite
Affects Versions: 3.6.2
Reporter: Ondra Žižka
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list