Hibernate 重新编译时测试无法通过

这个测试失败是在模块 testsuite 中[code]Results :

Tests in error:
testLongInElementsByHQL(org.hibernate.test.criteria.LongInElementsTest)

Tests run: 2060, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to D:\workdir\OSS\hibernate\testsuite\target\surefire-reports for t
he individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 minutes 37 seconds
[INFO] Finished at: Thu Jun 24 13:36:46 EDT 2010
[INFO] Final Memory: 34M/109M
[INFO] ------------------------------------------------------------------------
D:\workdir\OSS\hibernate>[/code]

你可以修改这个模块的日志配置文件。

这个配置文件在 testsuite\src\test\resources 目录下。

将下面这句话log4j.logger.org.hibernate.hql.ast.HqlSqlWalker=trace修改为log4j.logger.org.hibernate.hql.ast.HqlSqlWalker=error提高输出级别。