Cumulative patch:

* Factor out invokeOnInit() method from Node.init() in order to implement onInit() invocation
  for the embedded database.
* Make properties starting with an _underscore transient in the embedded database,
  mirroring the behaviour of the object relational storage.
* Keep filter.additionalTables from being included in prefetchNode() queries, fixing bug 472.
* Some minor code cleanup and simplification.
This commit is contained in:
hns 2006-07-29 12:01:52 +00:00
parent 21be4d8651
commit f5b90c23f1
4 changed files with 24 additions and 19 deletions

View file

@ -30,7 +30,6 @@ import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Hashtable;
import java.util.List;
/**
*
@ -199,7 +198,9 @@ public final class XmlDatabaseReader extends DefaultHandler implements XmlConsta
*/
public void endElement(String namespaceURI, String localName, String qName)
throws SAXException {
if (elementType != null) {
if ("hopobject".equals(qName) && currentNode != null) {
currentNode.invokeOnInit();
} else if (elementType != null) {
Property prop = new Property(elementName, currentNode);
String charValue = charBuffer.toString();