Author: jcosta(a)redhat.com
Date: 2008-09-22 10:54:48 -0400 (Mon, 22 Sep 2008)
New Revision: 15212
Modified:
search/trunk/src/test/org/hibernate/search/test/embedded/Product.java
Log:
HSEARCH-270 / JBPAPP-1134 - Added 'nullable=false' to CUST_NAME
Modified: search/trunk/src/test/org/hibernate/search/test/embedded/Product.java
===================================================================
--- search/trunk/src/test/org/hibernate/search/test/embedded/Product.java 2008-09-22
08:05:59 UTC (rev 15211)
+++ search/trunk/src/test/org/hibernate/search/test/embedded/Product.java 2008-09-22
14:54:48 UTC (rev 15212)
@@ -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