mirror of https://github.com/apache/openjpa.git
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:
parent
b0cddf4e2d
commit
071a9abbbb
|
@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue