diff --git a/hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseCoreFunctionalTestCase.java b/hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseCoreFunctionalTestCase.java index b6504dced2..d1db00709e 100644 --- a/hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseCoreFunctionalTestCase.java +++ b/hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseCoreFunctionalTestCase.java @@ -447,7 +447,7 @@ public abstract class BaseCoreFunctionalTestCase extends BaseUnitTestCase { } else { // 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 -> { s.createQuery( "from java.lang.Object" ).list().forEach( s::remove ); } );