HHH-18322 Fixed compilation error in test case

This commit is contained in:
Čedomir Igaly 2024-08-30 10:52:54 +02:00 committed by Steve Ebersole
parent 289ab0e6ca
commit 2c607e4bd6
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ public class MatchingConstructorTest {
@BeforeAll
public void prepareData(final SessionFactoryScope scope) {
scope.inTransaction(
session -> session.save( new TestEntity( 1, 42, "test", 13 ) )
session -> session.persist( new TestEntity( 1, 42, "test", 13 ) )
);
}