About entities

151-160 of 200Refresh
Issue
13

No Entity Class API

(mainly entity classes in JPA or persistence capable classes in JDO). Usually ... and should not be bound to specific entity classes and persistent fields. Therefore, an API for accessing ... the Metamodel API to find details on the entity classes in a database. Obtain Class representation
Forum
13

Running doctor.jar with entity classes in classhpath

Hi, I am wondering how to populate new entity classes to database file, so that I could add new instances of these entities to database through explorer. I tried to run com.objectdb.Doctor with model.jar (my entity classes in it) in classpath but it doesn't work (new entities still dont show up in
Issue
13

Feature suggestion: auto-detection of entities via persistence.xml extension

I am encountering problems (complexities) with EntityManager registration of entities across multiple modules in a multi-module Maven project. I have a  entities under many different paths in many ... to introduce such an entity-scanning extension feature in ObjectDB ? Q2: Does it make any difference
Forum
13

Entity Management Config questions

Hi, the manual states the following regarding config of Entities: http://www.objectdb.com/java/jpa/setting/entities: The element specifies settings of the two cache mechanisms for entities: The ref attribute specifies the reference type for holding non
Forum
13

Attempt to refresh a non managed entity object (error 635)

Just ran into a problem that I've not seen in 10 years of running ObjectDb: java.lang.IllegalArgumentException Attempt to refresh a non managed entity object (error 635) Nothing changed in my code ... entity object, i.e. a new entity object that has not been persisted yet, or a detached entity object (e
Forum
13

Does aggregate function "greatest" work on entity objects?

Does aggregate function "greatest" work on entity objects? do not come to the function "compareTo" @Entity public class ChatHistoryItem extends AbstractObject implements Comparable { private ... ; } @Override public String toString() { return "granat.dp.domain.entity
Forum
13

Double persist of Entity field with Cascade.ALL

have a Book class with entity field Chapter which has a CascadeType.ALL property. The Book fields are as ... are created and added to the Book entity ON THE SERVER SIDE, then the Chapter table is OK (no duplicate ... . For completeness, attached is the modified sample that moves all Entity manipulation code to the Server
Forum
13

Entity Type is not found (error 301) in Query

(             "User.checkConstraints(): Property email isn't unique!");     } }     This could happen if the entity ... introduce the class to ObjectDB before the query, for example by:     em.getMetamodel().entity(User ... query is invoked when the database is empty - no persisted entities. Explict call of this method: em
Issue
13

Incorrect entity returned by query

return the expected entity. We have attached the corresponding database. The query is: SELECT dep FROM ... + dep.target.row.offsetEntry.offset > 1   We expect it to find entity 318E, however, the query returns the entity with UID: 318F. However, the returned entity does not fulfill the provided conditions
Forum
13

Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity

a non-static logging variable holder can be used in an @Entity.     ObjectDB 2.6.3_04     Apache Log4j2 ... use that in an @Entity for a static logger variable: @Entity public class Element extends ... (Element.class); For some reason the error is reported on a subtype: @Entity public class SubEntity