About Entity

161-170 of 200Refresh
Forum
9

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
9

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
9

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
9

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
9

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
9

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
9

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

Problem on JPA Merge Entity.

of an entity (statement) with an other entity (newSingleConstraint). newSingleValue is already persisted. I ... and the newSingleValue is present. The entity manager don't link the newSingleValue to the statement when i ... a simple (more simple as possible, because i have a big hierarchy of class in entity domain) sample
Forum
9

Entity object parameter in Explorer parameter

Hello, I cannot set an entity object in a parameter for a bulk update in the explorer query execution. The format Entity#001 works well for the parameter in the WHERE clause, but it doesn't work in ... not support an entity parameter for an update? Any time that I need to do a bulk update, I need
Issue
9

Fetch a whole entity graph eager

next version ObjectDB 3.0? And do you know an easy possibility to get an entirely eager entity graph with all depended entities which we can use as a detached full accessible entity graph outside ... queries. JDO fetch groups. Hello, we have still always the problem to get a complex completed eager entity