Set DbMapping in deserialized Nodes along with prototype name.
This commit is contained in:
parent
1b27fedb9f
commit
ba42d67be6
1 changed files with 1 additions and 0 deletions
|
@ -158,6 +158,7 @@ public final class XmlReader extends DefaultHandler implements XmlConstants {
|
||||||
|
|
||||||
if (!"".equals(prototype) && !"hopobject".equals(prototype)) {
|
if (!"".equals(prototype) && !"hopobject".equals(prototype)) {
|
||||||
currentNode.setPrototype(prototype);
|
currentNode.setPrototype(prototype);
|
||||||
|
currentNode.setDbMapping(nmgr.getDbMapping(prototype));
|
||||||
}
|
}
|
||||||
|
|
||||||
String key = id + "-" + prototype;
|
String key = id + "-" + prototype;
|
||||||
|
|
Loading…
Add table
Reference in a new issue