About entities

71-80 of 200Refresh
Forum
29

can removing an entity throw an exception if the entity is in use?

Suppose you have an entity @Entity class A { ... } and other entities with references to A.   e.g. @Entity class B { A a; // explicit reference to A List list; // list of A's Set ... (@Entity and/or @Embedded) that include any reference to a specific Entity? You can try
Forum
29

The exception "Attempt to remove a detached entity object" have no information about the entity

Hello, the exception "Attempt to remove a detached entity object" have no information about the detached entity. It is very hard, especially if the involved entities uses cascading, to find the removed call for the detached entity.   It would be very helpful if you can add a few information
Forum
28

List managed entities for a given entity manager

Hi, Is there a way to find the number of managed entities given an entity manager? My application has some memory leaks - I am doing clear() on the entity manager(s) but may be I forgot some - so if there is a way to know how many entities are managed by each my entity mgr - it would be helpful
Forum
28

An ArrayIndexOutOfBoundsException with nested entities and enhanced entities

.8_06 All our entities are enhanced. There are nested entities in following hierarchy: @Entity ... with the previous exception? No, there are only entities involved. Have you an idea why this issue
Forum
28

find out if an entity is refered by other entities

Hello, it is possible to find out if a child entity is just referenced by other parent entity types. But the types of the parent entities are unknown. Is there a possibility to find out if an entity is referenced? best regards You can only find it (using a query) for a specific relationship
Manual
28

JPA Persistable Types [2019-08-10]

. ObjectDB supports all the JPA persistable types, which are: User defined classes - Entity classes ... and Serializable types (user or system defined). Note: Only instances of entity classes can be stored in the database directly. Other persistable types can be embedded in entity classes as fields. In
Manual
28

JPA Persistable Types [2019-08-10]

. ObjectDB supports all the JPA persistable types, which are: User defined classes - Entity classes ... and Serializable types (user or system defined). Note: Only instances of entity classes can be stored in the database directly. Other persistable types can be embedded in entity classes as fields. In
Manual
28

JPA Persistable Types

. ObjectDB supports all the JPA persistable types, which are: User defined classes - Entity classes ... and Serializable types (user or system defined). Note: Only instances of entity classes can be stored in the database directly. Other persistable types can be embedded in entity classes as fields. In
Manual
28

JPA Persistable Types [2016-08-06]

. ObjectDB supports all the JPA persistable types, which are: User defined classes - Entity classes ... and Serializable types (user or system defined). Note: Only instances of entity classes can be stored in the database directly. Other persistable types can be embedded in entity classes as fields. In
Manual
28

JPA Persistable Types [2019-08-03]

. ObjectDB supports all the JPA persistable types, which are: User defined classes - Entity classes ... and Serializable types (user or system defined). Note: Only instances of entity classes can be stored in the database directly. Other persistable types can be embedded in entity classes as fields. In