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

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Sat Jan 9 08:28:32 EST 2010


Author: stliu
Date: 2010-01-09 08:28:32 -0500 (Sat, 09 Jan 2010)
New Revision: 18471

Modified:
   annotations/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/test/annotations/any/PropertyMap.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/any/PropertyMap.java
===================================================================
--- annotations/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/test/annotations/any/PropertyMap.java	2010-01-09 13:23:32 UTC (rev 18470)
+++ annotations/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/test/annotations/any/PropertyMap.java	2010-01-09 13:28:32 UTC (rev 18471)
@@ -61,7 +61,7 @@
 			name = "map_properties",
 			joinColumns = @JoinColumn( name = "map_id" ),
 			inverseJoinColumns = @JoinColumn( name = "property_id" ) )
-	@MapKey( columns = { @Column( name = "map_key" ) } )
+	@MapKey( columns = { @Column( name = "map_key",nullable=false ) } )
 	public Map<String, Property> getProperties() {
 		return properties;
 	}



More information about the hibernate-commits mailing list