Author: adamw
Date: 2009-12-11 02:47:28 -0500 (Fri, 11 Dec 2009)
New Revision: 18205
Modified:
core/branches/envers-hibernate-3.3/src/main/java/org/hibernate/envers/configuration/metadata/CollectionMetadataGenerator.java
Log:
svn merge -r 18202:18204
https://svn.jboss.org/repos/hibernate/core/trunk/envers .
Modified:
core/branches/envers-hibernate-3.3/src/main/java/org/hibernate/envers/configuration/metadata/CollectionMetadataGenerator.java
===================================================================
---
core/branches/envers-hibernate-3.3/src/main/java/org/hibernate/envers/configuration/metadata/CollectionMetadataGenerator.java 2009-12-11
07:43:34 UTC (rev 18204)
+++
core/branches/envers-hibernate-3.3/src/main/java/org/hibernate/envers/configuration/metadata/CollectionMetadataGenerator.java 2009-12-11
07:47:28 UTC (rev 18205)
@@ -145,7 +145,7 @@
void addCollection() {
Type type = propertyValue.getType();
- if ((type instanceof BagType || type instanceof SetType || type instanceof
MapType) &&
+ if ((type instanceof BagType || type instanceof SetType || type instanceof
MapType || type instanceof ListType) &&
(propertyValue.getElement() instanceof OneToMany) &&
(propertyValue.isInverse())) {
// A one-to-many relation mapped using @ManyToOne and
@OneToMany(mappedBy="...")
addOneToManyAttached();