Home » Search

About entity

151-160 of 200Refresh
Issue
11

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
11

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
11

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
11

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
11

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

Allow removal of entity class from ObjectDB & Explorer

Hi. It would be very useful to be able to delete an entire entity class from ObjectDB ... , thus they're limited to 10 entities / db. During the life time of a software, many changes appear to its data structure. When an entity class becomes unnecessary, we should be able to remove
Forum
11

Cascading (persist) with a mix of enhanced and not enhanced entities

We find out that it is actual not possible to use enhanced and not enhanced entities together. Exist any limitations regarding the use of enhanced and non-enhanced entities? We work based feature ... the entities during development is, because of our build environment, very time-consuming
Forum
11

Embedding Managed Entities in Embedded Objects = bad idea

Discovered that you can't embed entities in embeddable objects if the entity is managed. Haven't tried embedding un-managed entities in embeddable objects, though I imagine that's not a great idea. The the error message isn't all that obvious (attempting to persist object which already has an id
Forum
11

Entity factory

Hi, is it possible to create Entities with a custom factory? I want to create Entity instances via dependency injection like: @Entiy public class User { private final UserService userService ... in a ThreadLocal and access it inside the new Entity to inject the dependencies.
Forum
11

Entity factory - best practices

initiate a db connection by creating entity manager factory from db on disk, get the entity manager, modify ... one every time. Out of curiosity, is my current method thread-safe? Can multiple entity managers exist