OPENJPA-2117: Back-port Albert's trunk changes to 2.1.x

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1295384 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Heath Thomann 2012-03-01 02:34:54 +00:00
parent 63321e5906
commit e985d5b4ad

View File

@ -678,7 +678,7 @@ public class XMLPersistenceMappingParser
}
// else no break
case JavaTypes.COLLECTION:
if(fm.isElementCollection()) {
if (!fm.getValue().isSerialized()) {
fm.getElementMapping().getValueInfo().setColumns(_cols);
} else {
fm.getValueInfo().setColumns(_cols);