This commit is contained in:
taghizadeh87 2021-09-27 18:42:59 +03:30 committed by Jan Schatteman
parent c6e3bf2ef8
commit 87e5de74aa
1 changed files with 1 additions and 1 deletions

View File

@ -447,7 +447,7 @@ public abstract class BaseCoreFunctionalTestCase extends BaseUnitTestCase {
} }
else { else {
// Because of https://hibernate.atlassian.net/browse/HHH-5529, // Because of https://hibernate.atlassian.net/browse/HHH-5529,
// we can'trely on a Bulk Delete query which will not clear the link tables in @ElementCollection or unidirectional collections // we can't rely on a Bulk Delete query which will not clear the link tables in @ElementCollection or unidirectional collections
doInHibernate( this::sessionFactory, s -> { doInHibernate( this::sessionFactory, s -> {
s.createQuery( "from java.lang.Object" ).list().forEach( s::remove ); s.createQuery( "from java.lang.Object" ).list().forEach( s::remove );
} ); } );