diff --git a/hibernate-core/src/test/java/org/hibernate/test/instrument/domain/Passport.java b/hibernate-core/src/test/java/org/hibernate/test/instrument/domain/Passport.java index 438946f7d3..fdaf88abe0 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/instrument/domain/Passport.java +++ b/hibernate-core/src/test/java/org/hibernate/test/instrument/domain/Passport.java @@ -10,6 +10,7 @@ import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; import javax.persistence.CascadeType; +import javax.persistence.Column; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.Id; @@ -72,6 +73,7 @@ public class Passport { this.person = person; } + @Column(name="`number`") public String getNumber() { return number; }