Fix compilation errors
This commit is contained in:
parent
dbed6112c8
commit
718d1e4380
|
@ -75,7 +75,7 @@ public class QueryApiTests {
|
|||
1,
|
||||
new Contact.Name( "John", "Jingleheimer-Schmidt"),
|
||||
Contact.Gender.MALE,
|
||||
LocalDate.EPOCH
|
||||
LocalDate.of(1970, 1, 1)
|
||||
);
|
||||
session.persist( contact );
|
||||
} );
|
||||
|
|
|
@ -70,7 +70,7 @@ public class QueryHintTest {
|
|||
1,
|
||||
new Contact.Name( "John", "Jingleheimer-Schmidt"),
|
||||
Contact.Gender.MALE,
|
||||
LocalDate.EPOCH
|
||||
LocalDate.of(1970, 1, 1)
|
||||
);
|
||||
contact.setPhoneNumbers(
|
||||
Collections.singletonList(
|
||||
|
|
|
@ -114,7 +114,7 @@ public class GroupByTest {
|
|||
@BeforeEach
|
||||
public void prepareData(SessionFactoryScope scope) {
|
||||
scope.inTransaction( (em) -> {
|
||||
Contact entity1 = new Contact( 123, new Contact.Name( "Johnny", "Lawrence" ), Contact.Gender.MALE, LocalDate.EPOCH );
|
||||
Contact entity1 = new Contact( 123, new Contact.Name( "Johnny", "Lawrence" ), Contact.Gender.MALE, LocalDate.of(1970, 1, 1) );
|
||||
em.persist( entity1 );
|
||||
} );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue