Skip to content

Commit 697bcfb

Browse files
committed
HHH-18621 fix an incorrectly-written test
1 parent 7294cb2 commit 697bcfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/hql/NaturalIdDereferenceTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ public static class BookRef {
369369
private Long id;
370370

371371
@ManyToOne(optional = true)
372-
@JoinColumn(nullable = true, columnDefinition = "id_ref")
372+
@JoinColumn(nullable = true, name = "id_ref")
373373
private Book normalBook;
374374

375375
@ManyToOne
@@ -387,7 +387,7 @@ public static class BookRefRef {
387387
private Long id;
388388

389389
@ManyToOne
390-
@JoinColumn(nullable = true, columnDefinition = "id_ref_ref")
390+
@JoinColumn(nullable = true, name = "id_ref_ref")
391391
private BookRef normalBookRef;
392392

393393
@ManyToOne

0 commit comments

Comments
 (0)