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   (RSS)
Showing page 1 of 2 (16 total posts)
  • 请教多个ObjectContainer的不同步的问题? ObjectContainer的缓存

    大家好,小弟对db4o了解不是很深入。 最近实现一个Db4oConnection Pool, 使用LinkedList 循环链表存放一定数量的初始化ObjectContainer, 每次使用完后,set,delete才去commit; query就没有去commit; 操作完后,只是简单地把ObjectContainer 归还给LinkedList保管。  在web servlet request的Action中使用时,相邻的操作,使用的ObjectContainer都不会一样。 如: ...
    Posted to Chinese (Forum) by glt_beyond on July 14, 2008
  • about ObjectSet generic

    ObjectSet<Pilot> set = db.query(Pilot.class);It's wrong while buiding above, why?? In tutorial docs ,        For JDK 5  there also is a generics shortcut, using the query method:      List <Pilot> pilots = db.query(Pilot.class); List<Pilot>? why not ...
    Posted to db4o User Forum (Forum) by evonli on June 11, 2008
  • Mantener abierto ObjectContainer o Cerrarlo?

    Hace un tiempo leí una discucion en la cual se recomendaba mantener siempre abierto el objectContainer hasta que la aplicación termine. Mi pregunta es la misma... Cuando uno tiene una aplicacion cliente-servidor en la cual la aplicacion estará todo el día en funcionamiento... y no solo en un computador, a eso le sumamos el programa estará abierto ...
    Posted to Spanish (Forum) by Tallexs on April 24, 2008
  • How look through content of ObjectContainer

    Please explain and correct if wrong.After ObjectContainer openend it is empty. When client executes #get(object) db4o first searches for this object in ObjectContainer and if there is no such one the search continues in database. Then object is retrieved in ObjectContainer.If it is right is there some way to look through content of ...
    Posted to db4o User Forum (Forum) by nadeza on October 2, 2007
  • Several Object Containers are created per transaction

    In C/S web-app I open ObjectServer and ObjectContainer's without using context listeners.I use Db4oUtil where ObjectServer is declared as static and ObjectContainer's are stored in ThreadLocal. In DAO layer ObjectContainer is called by method D4oUtil.getObjectContainer(). Thus server is created when the first client is autorized and ...
    Posted to db4o User Forum (Forum) by nadeza on September 27, 2007
  • How to update the db4o configuration after ObjectContainer is opened?

    How to update the db4o configuration after ObjectContainer is opened? We have the setup like Application server is using db4o database. When we create a new object type in the database, we have to configure the indexing, unique constraint, etc., information in the database. We can't close object container and open it again as it will affect the ...
    Posted to db4o User Forum (Forum) by prathabk on August 28, 2007
  • Re: How to get reason for ObjectNotStorableException?

    Ok, managed to solve this. A property in the stored class contained a raft of non-persistent objects (java.util.Date etc) and was not set to transient, causing the exception.
    Posted to db4o User Forum (Forum) by LanceB on August 24, 2007
  • How to get reason for ObjectNotStorableException?

    Hi I'm facing a problem where an object is sporadically not storable. Occasionally, I get this stack trace when calling ObjectContainer.set: com.db4o.ext.ObjectNotStorableException: java.lang.Object@1d7089e    at com.db4o.internal.ClassMetadata.forObject(Unknown Source)    at ...
    Posted to db4o User Forum (Forum) by LanceB on August 23, 2007
  • Problem initialising transient from objectOnActivate

    Hi I need to reinstate a transient field from Child.objectOnActivate with a property from Parent as parameter. Something like this: public class Child extends Parent {   private transient StrategyEnabler field;   public Child(Set<String> content) {    super(content);    field = new ...
    Posted to db4o User Forum (Forum) by LanceB on August 14, 2007
  • 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
1 2 Next >