Commit graph

7 commits

Author SHA1 Message Date
hns
414b22836b * Extract cache insertion code into new private registerNewNode() method.
* Delay onInit() invocation until after the node has been registered with the cache.
  Two advantages: first, we won't call onInit() on nodes that are bound to be
  thrown away because a clone already exists in the cache, and second no need
  to cache nodes in the transactor clean node map, which was troublesome in
  exactly the same case.
* Remove some old code that has been commented out for ages.
2006-12-12 14:54:52 +00:00
hns
f5b90c23f1 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.
2006-07-29 12:01:52 +00:00
hns
852543386c * Merging updateable_collections branch (with a few changes along the way) 2006-02-09 16:35:32 +00:00
hns
dac8f7d54c Fix import statements 2003-10-22 16:53:40 +00:00
hns
66663c8b20 Merge from helma_1_2_4 2003-04-16 16:28:04 +00:00
hns
efa4512055 Tentative fix for bug 113: numbers as names of named properties do not
work in embedded db

When a property is encountered that *might* not be suitable as XML element name,
we use "property" as element name and add the real property name as attribute to
that element.
2002-10-30 16:35:48 +00:00
hns
f0d7311b33 XmlReader now uses the SAX API to read XML files into HopObjects. SAX is
generally faster than DOM because it doesn't report an intermediary DOM tree, but
reports parsing events directly to the application.

XmlDatabase now uses a separate, special purpose XmlReader called XmlDatabaseReader
which parses only one-level HopObjects and generates NodeHandle objects
for all references.
2002-09-11 14:44:57 +00:00