HHH-9503 - Consistently accept numeric value or Connection constant field name for configuring transaction isolation
This commit is contained in:
parent
8c8e729b3d
commit
3192e1db92
|
@ -9,10 +9,10 @@ package org.hibernate.test.c3p0;
|
|||
import org.hibernate.boot.registry.StandardServiceRegistry;
|
||||
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
|
||||
import org.hibernate.c3p0.internal.C3P0ConnectionProvider;
|
||||
import org.hibernate.connection.BaseTransactionIsolationConfigTest;
|
||||
import org.hibernate.engine.jdbc.connections.spi.ConnectionProvider;
|
||||
import org.hibernate.service.spi.ServiceRegistryImplementor;
|
||||
|
||||
import org.hibernate.testing.common.connections.BaseTransactionIsolationConfigTest;
|
||||
import org.junit.Before;
|
||||
|
||||
/**
|
||||
|
|
|
@ -9,9 +9,17 @@ package org.hibernate.connection;
|
|||
import org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl;
|
||||
import org.hibernate.engine.jdbc.connections.spi.ConnectionProvider;
|
||||
|
||||
import org.hibernate.testing.common.connections.BaseTransactionIsolationConfigTest;
|
||||
import org.junit.Ignore;
|
||||
|
||||
/**
|
||||
* NOTE : had to mark this as ignored because otherwise many other of the hibernate-core tests ran into problems.
|
||||
* It seems like H2 holds on to the isolation. Anyway quite a few other tests fail when this test is run,
|
||||
* none do when it is not :(
|
||||
*
|
||||
* @author Steve Ebersole
|
||||
*/
|
||||
@Ignore
|
||||
public class DriverManagerConnectionProviderTransactionIsolationConfigTest extends BaseTransactionIsolationConfigTest {
|
||||
@Override
|
||||
protected ConnectionProvider getConnectionProviderUnderTest() {
|
||||
|
|
|
@ -6,10 +6,11 @@
|
|||
*/
|
||||
package org.hibernate.test.hikaricp;
|
||||
|
||||
import org.hibernate.connection.BaseTransactionIsolationConfigTest;
|
||||
import org.hibernate.engine.jdbc.connections.spi.ConnectionProvider;
|
||||
import org.hibernate.hikaricp.internal.HikariCPConnectionProvider;
|
||||
|
||||
import org.hibernate.testing.common.connections.BaseTransactionIsolationConfigTest;
|
||||
|
||||
/**
|
||||
* @author Steve Ebersole
|
||||
*/
|
||||
|
|
|
@ -11,12 +11,11 @@ import java.util.Properties;
|
|||
import org.hibernate.boot.registry.StandardServiceRegistry;
|
||||
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
|
||||
import org.hibernate.cfg.AvailableSettings;
|
||||
import org.hibernate.cfg.Environment;
|
||||
import org.hibernate.connection.BaseTransactionIsolationConfigTest;
|
||||
import org.hibernate.engine.jdbc.connections.spi.ConnectionProvider;
|
||||
import org.hibernate.proxool.internal.ProxoolConnectionProvider;
|
||||
import org.hibernate.service.spi.ServiceRegistryImplementor;
|
||||
|
||||
import org.hibernate.testing.common.connections.BaseTransactionIsolationConfigTest;
|
||||
import org.junit.Before;
|
||||
|
||||
/**
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
|
||||
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
||||
*/
|
||||
package org.hibernate.connection;
|
||||
package org.hibernate.testing.common.connections;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.util.Properties;
|
Loading…
Reference in New Issue