About embeddable

91-100 of 147Refresh
Forum
2

EmbeddedId with Generated field value

; } @Embeddable public class CompositePK {     private long uid;     private String zone; } In ... objects (and not for embeddable classes). Consider using: @IdClass(ZoneId.class) @Entity public static ... (or CompositePK class) to be declared as @Embeddable static class with annotated fields? I believe
Forum
2

Problem with entities detection

. The only difference is an @Embeddable annotion in a class, and an @Embedded annotation in another. The problem ... )  and objectdb.Direccion (the @Embeddable) to the same package of centroController, it just works ... ; And this is the Embedded class: @Embeddable public class Direccion implements Serializable
Forum
1

A few questions on object database design

everything about the player as embeddable classes. However, my colleague questions about this structure ... between entity classes and embeddable classes is easy, so if you already have tests that check
Forum
1

com.objectdb.o.NLV cannot be cast to com.objectdb.o.RSV

an embeddable class, and that may cause data duplication, since every ChatHistoryItem holds its own PersonalData instance in the receipt field. To avoid data duplication consider using Entity instead of Embeddable for this type. galandor
Forum
1

Documentation problem - license does not match implementation

does not allow 10 entity classes.  It allows a total of 10 persistable classes - entity and embeddable ... . It was fixed and you should be able to use version 2.4.3 with 10 entity classes + embeddable classes. kjkrum
Forum
1

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

Error reading UTF string (Serialized Objects in Explorer)

, whose type is serializable (Money). Using serializable types is not recommended (embeddable classes ... it to embeddable is possible - this is the preferred solution (assuming this is indeed the problem). Build 2.3.6
Forum
1

Exception after update of indices of Entity class

LinkedHashSet<>();     ... } @Embeddable public class Recurrence {     private String recurringEventId = null;     private Event recurringEvent = null;     ... } @Embeddable public abstract
Forum
1

Index on map key

();         }     }         @Embeddable     public static class MyEntry {         String key;         String value;         public ... . a collection of a key-value embeddable objects. An index on the key is defined using @Index(members
Forum
1

Is named-query supported in orm.xml

":entity, "http://java.sun.com/xml/ns/persistence/orm":embeddable}' is expected. Does ObjectDB support ... the XML before any type (entity, embeddable, etc.) definition. Named queries can also be defined in