ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh

Query in nested transaction returns detached entity if lazy-loaded

!= null); The entity is detached and data is not loaded lazily from the database. We've also found ... then we get another issues in our test suites. We worked on enhanced classes. We activated the entity listeners for pre persisted and post persisted in order to check the entity version number. For example a new entity

IDs of Entities suddenly became UUIDs?

, others a String UUID. Our Base-Entity everything inherits from is declared as usual with Long ... !?? How could that have happened and what are we supposed to do now to fix this as when quering those entities ... in the same entity type!?? Alex quasado Alexander Adam As discussed on this issue, ObjectDB doesn't

Bulk update of embedded entities in linked list

Hi, I'm trying to do a bulk update of a column in an embedded entity, but I end up with a query execution error because of the "." between the column name of the parent entity and column name of the child entity. The column in the parent entity represents a linked list of an embeddable class

Eager Fetch of Map with Entities as Keys

Loading eagerly a map that uses entity objects as keys is currently unsupported, if the equals and hashCode methods of the keys are based on the key entity persistent content, since that content ... .createEntityManager();         em.getTransaction().begin();         MyEntity entity = new MyEntity

Insert a new entity class in a class hierarchy does not work

Hello, we have an entity class hierarchy and we want to insert a new entity in this hierarchy ... , because the class hierarchy had already always existed and the "new" entity class needed still only the @Entity annotation, all remaining fields got null as a value. Only if the new entity

New entity objects are duplicated on merge cascading

When merge is cascaded to a new entity object that has not been persisted ... .persistence.*; @Entity public class T595 {     public static void main(String[] args ... ();     }         @Entity     public static class Book {         @Id         @GeneratedValue(strategy

References to objects of missing obsolete entity classes

: When we migrate our product profiles, we get an exception regarding entities that were removed in an earlier version of our product (see below). These entities are not present in the database and the error does ... a dummy (enhanced) entity class in your project for that obsolete entity class. support Support

Unexpected exception during query, if entity is not enhanced

Hello, the entity TCVector is not enhanced and the enhancement check in the objectdb.conf is active ... again. This could happen, for example, if that class is a subclass of another entity class that was changed (e.g. a field was added) after that enhancement. Rebuilding and re-enhancing of all the entity

Remove an entity which attributes were changed

We use an OSGi environment and we have three OSGi plugins. In plugin A an entity is loaded and the entity is passed to plugin B. Plugin B changes an attribute on the entity. Plugin C removes the entity from the database. After commit the transaction an exception is caused with optimistic lock

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}">

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