We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52aca30 commit 39457c5Copy full SHA for 39457c5
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/basic/SetAsBasicTest.java
@@ -9,6 +9,8 @@
9
import java.util.HashSet;
10
import java.util.Set;
11
12
+import org.hibernate.testing.jdbc.SharedDriverManagerTypeCacheClearingIntegrator;
13
+import org.hibernate.testing.orm.junit.BootstrapServiceRegistry;
14
import org.hibernate.testing.orm.junit.DomainModel;
15
import org.hibernate.testing.orm.junit.SessionFactory;
16
import org.hibernate.testing.orm.junit.SessionFactoryScope;
@@ -26,6 +28,8 @@
26
28
}
27
29
)
30
@SessionFactory
31
+// Clear the type cache, otherwise we might run into ORA-21700: object does not exist or is marked for delete
32
+@BootstrapServiceRegistry(integrators = SharedDriverManagerTypeCacheClearingIntegrator.class)
33
public class SetAsBasicTest {
34
35
@Test
0 commit comments