[Hibernate-JIRA] Created: (HHH-6020) Move to JBossTS caused some test failures in hibernate-envers
by Steve Ebersole (JIRA)
Move to JBossTS caused some test failures in hibernate-envers
-------------------------------------------------------------
Key: HHH-6020
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6020
Project: Hibernate Core
Issue Type: Bug
Components: envers
Reporter: Steve Ebersole
Assignee: Adam Warski
Fix For: 4.0.0.Alpha2
Specifically there is 1 tests that fails in both configurations for a total of 2 failures. The test class is {{org.hibernate.envers.test.integration.jta.JtaTransaction}}. The failure says:
{noformat}
null
org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:110)
at org.hibernate.service.internal.ServiceInitializer.configureService(ServiceInitializer.java:141)
at org.hibernate.service.internal.ServiceInitializer.initializeService(ServiceInitializer.java:108)
at org.hibernate.service.internal.ServiceRegistryImpl.getServiceInternal(ServiceRegistryImpl.java:119)
at org.hibernate.service.internal.proxy.javassist.ServiceProxyFactoryImpl$ServiceProxyMethodInterceptor.invoke(ServiceProxyFactoryImpl.java:114)
at org.hibernate.engine.jdbc.spi.JdbcServices_$$_javassist_0.getExtractedMetaDataSupport(JdbcServices_$$_javassist_0.java)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:77)
at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2848)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2844)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1825)
at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:77)
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:888)
at org.hibernate.envers.test.AbstractEntityTest.init(AbstractEntityTest.java:123)
at org.hibernate.envers.test.AbstractEntityTest.init(AbstractEntityTest.java:97)
...
{noformat}
JdbcServicesImpl.java:110 is a simple attempt to use the {{java.sql.Connection}} returned by the configured {{org.hibernate.service.jdbc.connections.spi.ConnectionProvider}}:
{code}
Connection conn = connectionProvider.getConnection();
try {
DatabaseMetaData meta = conn.getMetaData(); // <- this is line 110
...
{code}
--
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....
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[Hibernate-JIRA] Created: (HHH-6623) Tests in core's derived identities package hang while logging SQL
by John Verhaeg (JIRA)
Tests in core's derived identities package hang while logging SQL
-----------------------------------------------------------------
Key: HHH-6623
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6623
Project: Hibernate Core
Issue Type: Bug
Components: testsuite
Affects Versions: 4.0.0.CR1
Environment: Mac 10.6 and 10.7, gradle 1.0 m3
Reporter: John Verhaeg
from the thread dump, the only stack involving Hibernate is
- locked <7c01bce30> (a java.io.PrintStream)
at org.gradle.util.LinePerThreadBufferingOutputStream.println(LinePerThreadBufferingOutputStream.java:205)
at org.hibernate.engine.jdbc.spi.SqlStatementLogger.logStatement(SqlStatementLogger.java:106)
at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:394)
at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:354)
Even after removing the initial offending test, another test under the same derived identities package starts hanging. Not sure if the type of test has anything to do with it though. Some of the tests under this package work.
Workaround: Turn off the hibernate.show_sql property in hibernate.properties
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months