diff --git a/hibernate-core/src/test/java/org/hibernate/graph/EntityGraphFunctionalTests.java b/hibernate-core/src/test/java/org/hibernate/graph/EntityGraphFunctionalTests.java index 2a9518a103..ad828b8afe 100644 --- a/hibernate-core/src/test/java/org/hibernate/graph/EntityGraphFunctionalTests.java +++ b/hibernate-core/src/test/java/org/hibernate/graph/EntityGraphFunctionalTests.java @@ -109,7 +109,7 @@ public class EntityGraphFunctionalTests extends BaseEntityManagerFunctionalTestC inTransaction( entityManagerFactory(), session -> { - session.createQuery( "delete from Comment" ).executeUpdate(); + session.createQuery( "delete from CommentTable" ).executeUpdate(); session.createQuery( "delete from Issue" ).executeUpdate(); session.createQuery( "delete from User" ).executeUpdate(); }