HHH-12844 Fix HbmWithIdentityTest with Oracle
This commit is contained in:
parent
c03cb7c2c8
commit
89844c50de
|
@ -13,4 +13,8 @@ public interface A extends java.io.Serializable {
|
|||
public Integer getAId();
|
||||
|
||||
public void setAId(Integer aId);
|
||||
|
||||
String getDescription();
|
||||
|
||||
void setDescription(String description);
|
||||
}
|
||||
|
|
|
@ -23,6 +23,7 @@ public class AImpl implements A {
|
|||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer aId = 0;
|
||||
private String description;
|
||||
|
||||
public AImpl() {
|
||||
}
|
||||
|
@ -37,4 +38,13 @@ public class AImpl implements A {
|
|||
public void setAId(Integer aId) {
|
||||
this.aId = aId;
|
||||
}
|
||||
|
||||
@Column( name = "description" )
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,5 +14,6 @@
|
|||
<id name="AId" column="aID" type="java.lang.Integer">
|
||||
<generator class="identity"/>
|
||||
</id>
|
||||
<property name="description" column="description" type="string"/>
|
||||
</class>
|
||||
</hibernate-mapping>
|
Loading…
Reference in New Issue