Author: stliu
Date: 2010-01-09 09:14:34 -0500 (Sat, 09 Jan 2010)
New Revision: 18475
Modified:
search/branches/v3_1_1_GA_CP/src/test/java/org/hibernate/search/test/embedded/Product.java
Log:
JBPAPP-3375 HHH-4773 unit tests fail cos db2 doesn't allow primary key column
nullable
Modified:
search/branches/v3_1_1_GA_CP/src/test/java/org/hibernate/search/test/embedded/Product.java
===================================================================
---
search/branches/v3_1_1_GA_CP/src/test/java/org/hibernate/search/test/embedded/Product.java 2010-01-09
13:54:02 UTC (rev 18474)
+++
search/branches/v3_1_1_GA_CP/src/test/java/org/hibernate/search/test/embedded/Product.java 2010-01-09
14:14:34 UTC (rev 18475)
@@ -33,7 +33,7 @@
@IndexedEmbedded
private Set<Author> authors = new HashSet<Author>();
@ManyToMany(cascade = CascadeType.REMOVE) //just to make the test easier, cascade
doesn't really make any business sense
- @MapKey(columns = @Column(name="CUST_NAME") )
+ @MapKey(columns = @Column(name="CUST_NAME",nullable=false) )
@IndexedEmbedded
private Map<String, Order> orders = new HashMap<String, Order>();
Show replies by date