 10 | 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 |
 10 | 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 |
 10 | 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 |
 10 | 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 |
 10 | 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 |
 10 | 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 |
 10 | the enhancer on entity files. For full project build the following works, by grouping entities ... .platform.classpath}">
|
 10 | persisted entity objects or fields of arbitrary objects (like key-value store)? Does ObjectDB access ... ? Entire persisted entity objects? Fields of arbitrary objects (like key-value store)? To optimize ... asks for an entity object, will arbitrary entity objects around it in that datastore file location |
 10 | 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 |
 10 | 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 found |