[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-5597) org.hibernate.test.criteria.LikeTest.testLike fails on postgresql because of the default escape charactor
Strong Liu (JIRA)
noreply at atlassian.com
Sat Sep 25 06:42:57 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Strong Liu resolved HHH-5597.
-----------------------------
Resolution: Fixed
> org.hibernate.test.criteria.LikeTest.testLike fails on postgresql because of the default escape charactor
> ---------------------------------------------------------------------------------------------------------
>
> Key: HHH-5597
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5597
> Project: Hibernate Core
> Issue Type: Bug
> Components: testsuite
> Reporter: Strong Liu
> Assignee: Strong Liu
> Priority: Minor
> Fix For: 3.6.x
>
>
> org.hibernate.exception.SQLGrammarException: could not execute query
> at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92)
> at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
> at org.hibernate.loader.Loader.doList(Loader.java:2536)
> at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
> at org.hibernate.loader.Loader.list(Loader.java:2271)
> at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:119)
> at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1717)
> at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347)
> at org.hibernate.test.criteria.LikeTest.testLike(LikeTest.java:73)
> Caused by: org.postgresql.util.PSQLException: ERROR: unterminated quoted string at or near "'\'"
> Position: 112
> at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062)
> at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1795)
> at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
> at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)
> at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367)
> at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:271)
> at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
> at org.hibernate.loader.Loader.getResultSet(Loader.java:1953)
> at org.hibernate.loader.Loader.doQuery(Loader.java:802)
> at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
> at org.hibernate.loader.Loader.doList(Loader.java:2533)
--
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