Skip to content

Commit bc8c0a2

Browse files
committed
clean up some imports in tests
1 parent 7d79760 commit bc8c0a2

7 files changed

+0
-15
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/ProxyInitializeAndUpdateInlineDirtyTrackingDynamicUpdateTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,12 @@
1010
import jakarta.persistence.Id;
1111
import jakarta.persistence.Table;
1212
import jakarta.persistence.spi.LoadState;
13-
import jakarta.persistence.spi.PersistenceProvider;
1413

1514
import org.hibernate.Hibernate;
1615
import org.hibernate.annotations.DynamicUpdate;
1716
import org.hibernate.boot.MetadataSources;
1817
import org.hibernate.boot.SessionFactoryBuilder;
1918
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
20-
import org.hibernate.cfg.AvailableSettings;
2119
import org.hibernate.jpa.internal.util.PersistenceUtilHelper;
2220

2321
import org.hibernate.testing.TestForIssue;

hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/ProxyInitializeAndUpdateInlineDirtyTrackingTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
import org.hibernate.Hibernate;
1414
import org.hibernate.boot.MetadataSources;
1515
import org.hibernate.boot.SessionFactoryBuilder;
16-
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
17-
import org.hibernate.cfg.AvailableSettings;
1816

1917
import org.hibernate.testing.TestForIssue;
2018
import org.hibernate.testing.bytecode.enhancement.BytecodeEnhancerRunner;

hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/ProxyInitializeAndUpdateTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
import org.hibernate.Hibernate;
1414
import org.hibernate.boot.MetadataSources;
1515
import org.hibernate.boot.SessionFactoryBuilder;
16-
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
17-
import org.hibernate.cfg.AvailableSettings;
1816

1917
import org.hibernate.testing.TestForIssue;
2018
import org.hibernate.testing.bytecode.enhancement.BytecodeEnhancerRunner;

hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/QueryScrollingWithInheritanceProxyTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
import org.hibernate.StatelessSession;
1818
import org.hibernate.boot.MetadataSources;
1919
import org.hibernate.boot.SessionFactoryBuilder;
20-
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
21-
import org.hibernate.cfg.AvailableSettings;
2220
import org.hibernate.dialect.DB2Dialect;
2321
import org.hibernate.dialect.DerbyDialect;
2422
import org.hibernate.query.Query;

hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/SetIdentifierOnAEnhancedProxyTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
import org.hibernate.testing.junit4.BaseNonConfigCoreFunctionalTestCase;
4242
import org.junit.After;
4343
import org.junit.Before;
44-
import org.junit.Ignore;
4544
import org.junit.Test;
4645
import org.junit.runner.RunWith;
4746

hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/SimpleUpdateTestWithLazyLoading.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@
1919
import jakarta.persistence.Table;
2020

2121
import org.hibernate.Hibernate;
22-
import org.hibernate.annotations.LazyToOne;
23-
import org.hibernate.annotations.LazyToOneOption;
2422
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
25-
import org.hibernate.bytecode.enhance.spi.LazyPropertyInitializer;
2623
import org.hibernate.bytecode.enhance.spi.interceptor.EnhancementAsProxyLazinessInterceptor;
2724
import org.hibernate.cfg.AvailableSettings;
2825
import org.hibernate.engine.spi.EntityEntry;
@@ -48,7 +45,6 @@
4845
import static org.hibernate.testing.transaction.TransactionUtil.doInHibernate;
4946
import static org.junit.Assert.assertEquals;
5047
import static org.junit.Assert.assertThat;
51-
import static org.junit.Assert.assertTrue;
5248
import static org.junit.jupiter.api.Assertions.assertFalse;
5349

5450
/**

hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/SimpleUpdateTestWithLazyLoadingAndInlineDirtyTracking.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
import jakarta.persistence.OneToMany;
1919
import jakarta.persistence.Table;
2020

21-
import org.hibernate.annotations.LazyToOne;
22-
import org.hibernate.annotations.LazyToOneOption;
2321
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
2422
import org.hibernate.bytecode.enhance.spi.interceptor.EnhancementAsProxyLazinessInterceptor;
2523
import org.hibernate.cfg.AvailableSettings;

0 commit comments

Comments
 (0)