JBPAPP-1075 - Removed unique constraint on order number.
Also removed an empty test method. git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17524 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
d2d3568323
commit
4dc46db783
|
@ -249,10 +249,6 @@ public class ManyToOneTest extends TestCase {
|
||||||
s.close();
|
s.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testManyToOneAndIdClass() throws Exception {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public void testManyToOneNonPk() throws Exception {
|
public void testManyToOneNonPk() throws Exception {
|
||||||
Session s = openSession();
|
Session s = openSession();
|
||||||
Transaction tx = s.beginTransaction();
|
Transaction tx = s.beginTransaction();
|
||||||
|
|
|
@ -30,7 +30,7 @@ public class Order implements Serializable {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Column(name="order_nbr", unique = true)
|
@Column(name="order_nbr")
|
||||||
public String getOrderNbr() {
|
public String getOrderNbr() {
|
||||||
return orderNbr;
|
return orderNbr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue