Author: stliu
Date: 2010-01-09 08:23:32 -0500 (Sat, 09 Jan 2010)
New Revision: 18470
Modified:
annotations/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/test/annotations/collectionelement/indexedCollection/Sale.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/collectionelement/indexedCollection/Sale.java
===================================================================
---
annotations/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/test/annotations/collectionelement/indexedCollection/Sale.java 2010-01-08
22:04:47 UTC (rev 18469)
+++
annotations/branches/v3_4_0_GA_CP/src/test/java/org/hibernate/test/annotations/collectionelement/indexedCollection/Sale.java 2010-01-09
13:23:32 UTC (rev 18470)
@@ -28,7 +28,7 @@
name = "contact",
joinColumns = @JoinColumn(name = "n_key_person"))
@CollectionId(
- columns = @Column(name = "n_key_contact"),
+ columns = @Column(name = "n_key_contact",nullable=false),
type = @Type(type = "long"),
generator = "increment" )
private List<Contact> contacts = new ArrayList<Contact>();