db4o Developer Community

db4o open source object database, native to Java and .NET
Welcome to db4o Developer Community Sign in | Join
in Search
More Search Options

Browse by Tags

All Tags » ObjectContainer » cache   (RSS)
  • Re: Accessing the ObjectContainer reference cache

    Hi dlouwers, This looks to be a very efficient way to solve to problem. The 'Client' property now will be available to all subsequent methods with in the factory class. Before implementing the factory class the technique to open the database was:public void ProcessItem(...){  this._path = ''File-Name'';  IObjectContainer db = ...
    Posted to db4o User Forum (Forum) by JSealey on August 1, 2007
  • Accessing the ObjectContainer reference cache

    How do I obtain a reference to an active ObjectContainer cache! I do not want to pass the ObjectContainer as a method parameter. Is it possible to assign the active ObjectContainer at #FileOpen() to a protected field, thus making the reference scope visible to all methods in the class. // Declared in Class.protected IObjectContainer ...
    Posted to db4o User Forum (Forum) by JSealey on August 1, 2007
  • Stale queried objects after delete

    It seems that when I query for an object which is already known to db4o, the result is taken from the cache regardless of the fact that the cache might be inconsistent with the database. For example - Create two objects, the first referencing the second - Store the objects and commit - Delete the second object from the database and ...
    Posted to db4o User Forum (Forum) by xtianus on October 4, 2006