About entities

141-150 of 200Refresh
Issue
17

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
17

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
17

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
17

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
17

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
17

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
17

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
17

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

Primary key generation problem after changing entity package

Hi, I changed package name for some of my entities in database. I added info in entity classes. After schema change I ... ();         em.close();         emf.close();     }     @Entity     public static class
Forum
17

Selective merge/cascade of detatched entity

example is: @Entity public class Salesman { private String name; @OneToMany(fetch ... ; } @Entity public class Company { private String name; } For the sake of the example, each ... of the database using its own isolated entity objects. To avoid multiple memory objects for the same