mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 08:35:13 +00:00
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 Integer getAId();
|
||||||
|
|
||||||
public void setAId(Integer aId);
|
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 static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private Integer aId = 0;
|
private Integer aId = 0;
|
||||||
|
private String description;
|
||||||
|
|
||||||
public AImpl() {
|
public AImpl() {
|
||||||
}
|
}
|
||||||
@ -37,4 +38,13 @@ public Integer getAId() {
|
|||||||
public void setAId(Integer aId) {
|
public void setAId(Integer aId) {
|
||||||
this.aId = 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">
|
<id name="AId" column="aID" type="java.lang.Integer">
|
||||||
<generator class="identity"/>
|
<generator class="identity"/>
|
||||||
</id>
|
</id>
|
||||||
|
<property name="description" column="description" type="string"/>
|
||||||
</class>
|
</class>
|
||||||
</hibernate-mapping>
|
</hibernate-mapping>
|
Loading…
x
Reference in New Issue
Block a user