File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/basic Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 9
9
import java .util .HashSet ;
10
10
import java .util .Set ;
11
11
12
+ import org .hibernate .testing .jdbc .SharedDriverManagerTypeCacheClearingIntegrator ;
13
+ import org .hibernate .testing .orm .junit .BootstrapServiceRegistry ;
12
14
import org .hibernate .testing .orm .junit .DomainModel ;
13
15
import org .hibernate .testing .orm .junit .SessionFactory ;
14
16
import org .hibernate .testing .orm .junit .SessionFactoryScope ;
26
28
}
27
29
)
28
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 )
29
33
public class SetAsBasicTest {
30
34
31
35
@ Test
You can’t perform that action at this time.
0 commit comments