ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh
57

How Should I Configure objectdb.conf to Obtain 256KB Disk IO Requests and Maximize Shared PersistenceManager Entity Cache?

entries entire persisted entity objects or fields of arbitrary objects (like key-value store)? CBE CBE ... What is stored in a datastore pagefile cache page? Entire persisted entity objects? Fields of arbitrary ... loaded helps. For example, if my application asks for an entity object, will arbitrary entity objects
57

Embedded Entity in EmbeddedId not persisted. Error 631 at select.

.EmbeddedId; import javax.persistence.Entity; import javax.persistence.EntityManager; import javax ... !  *   *         question: Is @Entity annotation of class B not sufficient enough, or  *         am I completely ... ();         out.println(em.createQuery("select a from A a", A.class).getResultList());     }     @Entity     public
57

How prevent post-compile enhancement of non entity classes

the enhancer on entity files. For full project build the following works, by grouping entities ... .platform.classpath}"> <arg line="-s ./build/web/WEB-INF/classes/com/example/entity/*.class ./build/web/WEB-INF/classes/com/exanple/subpackage/entity/*.class"/> </java> <echo message="end ObjectDB
57

Query results are not up to date for entities, not primitives

CriteriaBuilder to JPQL or from Entity to Primitive. What´s now? flavioreboucassantos Flávio Rebouças Santos ... values rather than entities, so these queries are different. Could you please post the configuration ... that updates by queries bypass the cache and may result in not being seen by queries: "Updating entity
57

Entity with java.util.Date column gives ClassCastException in BIRT

Copied a straightforward entity class from my coleague. Using Eclipse Kepler (Reporting) and stored ... JPQL query to select the fields. Entity looks like this: package entity; import java.util.Date; import java.util.List; import javax.persistence.*; /** * Entity class for a patient
57

Extending model by "common entity"

Hi, I have a question about extending working model with one, common entity, that all other entities will inherit from. For example I have 2 different entities in database with some data: @Entity ... ;     // (getters and setters here) } and the second one: @Entity public class Entity2
56

Entity can be found by find() but not by query

Hello, we create an entity in transaction A, commit and close the transaction. After that in transaction B we try to find the entity in the DB. But we get always only a result with em.find(), with a query it is not always possible to get the entity, sometimes we get the entity
56

Failing to read entities under load in multithreaded tests

to read entities from the database. I've isolated this issue to a fairly simple test case (please see attached eclipse project). I have some test entities listed below. When I run a load test that creates, reads and updates these entities in multithreaded application it sometimes fails to read
56

Remove a modified entity cause an optimistic lock exception

Hello, the following examples load and modify an entity, and load and remove the same entity ... ). Can you explain the optimistic lock exception? It seems that the first level cache contains yet a dirty entity ... , entity classes, JPA wrappers, etc.) support Support I created a minimum OSGi example. Please clean
56

Repair broken references in entities

Hello, it is possible to recover an entity that has been removed automatically by CascadeType.Remove. After cascade remove the removed entity will be persisted with the identical primary key. Are all broken references in other entities on this removed/persisted entity repaired again? best regards

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