[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-4741) org.hibernate.test.filter.DynamicFilterTest.testSqlSyntaxOfFiltersWithUnions fails on MySQL
Strong Liu (JIRA)
noreply at atlassian.com
Tue Dec 29 03:07:31 EST 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Strong Liu resolved HHH-4741.
-----------------------------
Resolution: Fixed
> org.hibernate.test.filter.DynamicFilterTest.testSqlSyntaxOfFiltersWithUnions fails on MySQL
> -------------------------------------------------------------------------------------------
>
> Key: HHH-4741
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4741
> Project: Hibernate Core
> Issue Type: Bug
> Components: testsuite
> Affects Versions: 3.3.2, 3.5.0.Beta-1
> Environment: MySQL
> Reporter: Strong Liu
> Assignee: Strong Liu
> Priority: Minor
> Fix For: 3.3.x, 3.5
>
>
> org.hibernate.exception.SQLGrammarException: could not execute query
> at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90)
> at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
> at org.hibernate.loader.Loader.doList(Loader.java:2235)
> at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2129)
> at org.hibernate.loader.Loader.list(Loader.java:2124)
> at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:401)
> at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)
> at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
> at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1149)
> at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
> at org.hibernate.test.filter.DynamicFilterTest.testSqlSyntaxOfFiltersWithUnions(DynamicFilterTest.java:76)
> Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'hibbr330.department' doesn't exist
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
> at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
> at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
> at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
> at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268)
> at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1403)
> at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
> at org.hibernate.loader.Loader.getResultSet(Loader.java:1812)
> at org.hibernate.loader.Loader.doQuery(Loader.java:697)
> at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
> at org.hibernate.loader.Loader.doList(Loader.java:2232)
> ... 37 more
--
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