ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh

Removing entity class

the 10 entities limit and got exception: com.objectdb.o.UserException: Too many persistable types (>10) - exceeds evaluation limit Among the 10 entities in the project there are 2 entities I added long ... , but there are still in ObjectDB database. The 2 tables for these entities are empty, but the tables exist, so they count

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

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

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

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

Unexpected error when loading all entity instance

Hi, when going through all entity instance to find orphaned entries we get the exception ... . Create a transaction and load 10.000 entity instances 2. Check for each entity instance ... remaining was 5GB so there is also no issue. I checked my logs and found the error: Entity is not

DB Explorer cannot be opened after schema package renaming of entity types

The DB Explorer cannot be opened after schema package renaming of entity types because it seems that deprecated entity types which are removed from our java project break the database. In the database the entity types and deprecated entity types can be part of the identical package. The schema

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

Access entity version before commit transaction

Hi, I have a usecase where I need to write the updated entity version to the database before commiting the transaction: 1. Change entity field e.g. from a to b 2. Create a change entry in database containing the new version of the entity So I need to access the version of an updated entity inside

Update more than 10000 entities by an update query fails

Hello, following example tries to update more than 10000 entities by an update query ... .FIELD) @Entity public static class MyModelElement { @Id int id ... (); //"create and persist" em.getTransaction().begin(); EntityA entity

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