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:
Hardy Ferentschik 2009-09-17 17:36:24 +00:00
parent d2d3568323
commit 4dc46db783
2 changed files with 2 additions and 6 deletions

View File

@ -249,10 +249,6 @@ public class ManyToOneTest extends TestCase {
s.close();
}
public void testManyToOneAndIdClass() throws Exception {
}
public void testManyToOneNonPk() throws Exception {
Session s = openSession();
Transaction tx = s.beginTransaction();

View File

@ -30,7 +30,7 @@ public class Order implements Serializable {
this.id = id;
}
@Column(name="order_nbr", unique = true)
@Column(name="order_nbr")
public String getOrderNbr() {
return orderNbr;
}