ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh

Memory Leak?

it and then retrieve each of the object one by one. The object is key by Long. Here is the jmap at time1: num ... and other HashMap. Here is the code that retrieves the data. I'm pretty sure I'm not holding objects ... %10000==0) {     logger("Retrieved " + j + " objects. Last object: " + d);    }    em

Fetching Collections Puzzle

retrieve the Nodes stored in this list. Because no matter what I try, if I dont declare the FetchType to Eager, the children field of all my retrieved nodes are of size zero When I declare the FetchType as Eager, then isn't the database actually retrieving the whole graph stored in the database

Using the wrong class to access a database

"); EntityManager em = emf.createEntityManager(); create(em); retrieve(em ... (); } static void retrieve(EntityManager em) { // 1 Query q1 = em.createQuery("SELECT COUNT(p) FROM ... the retrieve method, no data is added. The package name is 'com.objectdb.test2'. The Point class

Method Invocation On All Entities

this could be retrieving one object at a time and invoke the method (using "retrieval by navigation ... ? You have to retrieve the entity objects and then run the method on each object. > For instance, suppose ... and therefore do not trigger lifecycle events. support Support I see. I'll retrieve the entity objects

Query problem after transaction commit

.begin ... persist(p) .. commit of a new object, my client program can no longer retrieve the old ... explorer on the server, my client program can retrieve all the records (no program restart or ... Ken If you could retrieve old objects but not the recently stored objects then this could be a cache

Performance with large databases

are those that retrieve data from the store. sjzlondon Steve Zara This may be explained by examining ... than fetching by an indexed field, or should these be about the same speed? sjzlondon Steve Zara Retrieval by ID is expected to be faster, because it enables direct access. Retrieval by an indexed field

multi thread application, id field sporadically null

, please explain how exactly you create, persist and retrieve the objects. Except the id field ... enhanced classes? It seems impossible to retrieve an object from the database without its id, since the first thing in every object retrieval is setting the id. Maybe you retrieve a cached object from

Best practise loading big data

by our implementation after retrieving them. All MyStepBlocks and all MyStep and half of the MyValue ... collection never releases them or not run at all. This seems to be uncommon for retrieval of 1,000,000 ... during the retrieval? If you add an explicit invocation of GC in the retrieval loop, does it help? support

Removing of an entity removes also another entity type

are created and persisted again. The ResolverMapping entities are retrieved from database by a query ... .remove(obj). Directly after remove we try to retrieve again the ResolverMapping entities from ... than retrieving entity objects and then updating them, but it should be used cautiously because bypassing

ClassCastException during query

is unavailable). Another class is used by your application code (for casting the retrieved object to the version ... for ObjectDB for loading retrieved objects. support Support Hello, I solved the issue. It seems that the class ... . Regarding this issue, as discussed, this is a class loading issue. When objects are retrieved from

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support