OPENJPA-326 Initialize discType

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@568403 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Dick 2007-08-22 04:01:07 +00:00
parent b0cddf4e2d
commit 071a9abbbb
1 changed files with 3 additions and 0 deletions

View File

@ -932,6 +932,9 @@ public class XMLPersistenceMappingParser
if (val != null) { if (val != null) {
_discType = Enum.valueOf(DiscriminatorType.class, val); _discType = Enum.valueOf(DiscriminatorType.class, val);
} }
else {
_discType = DiscriminatorType.STRING;
}
} }
} }