[hibernate-commits] Hibernate SVN: r18476 - annotations/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/test/annotations/target.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Sat Jan 9 09:35:37 EST 2010


Author: stliu
Date: 2010-01-09 09:35:37 -0500 (Sat, 09 Jan 2010)
New Revision: 18476

Modified:
   annotations/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/test/annotations/target/SizeImpl.java
Log:
JBPAPP-3375 HHH-4773 unit tests fail cos db2 doesn't allow primary key column nullable

Modified: annotations/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/test/annotations/target/SizeImpl.java
===================================================================
--- annotations/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/test/annotations/target/SizeImpl.java	2010-01-09 14:14:34 UTC (rev 18475)
+++ annotations/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/test/annotations/target/SizeImpl.java	2010-01-09 14:35:37 UTC (rev 18476)
@@ -1,6 +1,7 @@
 //$Id$
 package org.hibernate.test.annotations.target;
 
+import javax.persistence.Column;
 import javax.persistence.Embeddable;
 
 /**
@@ -8,6 +9,7 @@
  */
 @Embeddable
 public class SizeImpl implements Size {
+	@Column(nullable=false)
 	private String name;
 
 	public String getName() {



More information about the hibernate-commits mailing list