Home » Search

About entity

121-130 of 200Refresh
Forum
11

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
Issue
11

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
Issue
11

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
Forum
11

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
Forum
11

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
Forum
11

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

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

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
Forum
11

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
Issue
11

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 found
Forum
11

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

CriteriaBuilder to JPQL or from Entity to Primitive. What´s now? This could be the result of getting query ... operations cannot be used with queries that return values rather than entities, so these queries ... and may result in not being seen by queries: "Updating entity objects in the database using an UPDATE query