diff --git a/annotations/src/test/java/org/hibernate/test/annotations/manytoone/ManyToOneTest.java b/annotations/src/test/java/org/hibernate/test/annotations/manytoone/ManyToOneTest.java index 82574d1d35..ff56db2abf 100644 --- a/annotations/src/test/java/org/hibernate/test/annotations/manytoone/ManyToOneTest.java +++ b/annotations/src/test/java/org/hibernate/test/annotations/manytoone/ManyToOneTest.java @@ -208,7 +208,7 @@ public class ManyToOneTest extends TestCase { s = openSession(); tx = s.beginTransaction(); - //FIXME: fix this when the small parser bug will be fixed + //FIXME: fix this when the small parser bug will be fixed Query q = s.createQuery( "from " + Child.class.getName() ); //+ " c where c.parent.id.lastName = :lastName"); //q.setString("lastName", p.id.lastName); List result = q.list(); @@ -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(); diff --git a/annotations/src/test/java/org/hibernate/test/annotations/manytoone/Order.java b/annotations/src/test/java/org/hibernate/test/annotations/manytoone/Order.java index 61ae00cd44..fd9f110eb0 100644 --- a/annotations/src/test/java/org/hibernate/test/annotations/manytoone/Order.java +++ b/annotations/src/test/java/org/hibernate/test/annotations/manytoone/Order.java @@ -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; }