Skip to content

Commit 977c3f9

Browse files
committed
HHH-10296 : Fix more DB reserved words used by tests
1 parent 9958312 commit 977c3f9

File tree

1 file changed

+2
-0
lines changed
  • hibernate-core/src/test/java/org/hibernate/test/instrument/domain

1 file changed

+2
-0
lines changed

hibernate-core/src/test/java/org/hibernate/test/instrument/domain/Passport.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import java.util.Date;
1111
import java.util.GregorianCalendar;
1212
import javax.persistence.CascadeType;
13+
import javax.persistence.Column;
1314
import javax.persistence.FetchType;
1415
import javax.persistence.GeneratedValue;
1516
import javax.persistence.Id;
@@ -72,6 +73,7 @@ public void setPerson(Person person) {
7273
this.person = person;
7374
}
7475

76+
@Column(name="`number`")
7577
public String getNumber() {
7678
return number;
7779
}

0 commit comments

Comments
 (0)