Home » Search

About Embeddable

91-100 of 142Refresh
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
Forum
1

Join query problem with new statetment

a schema change that is not fully supported. For example - changing an embeddable class to entity class, which results in having a class with mixed objects in the database - the old embeddable
Issue
1

JPA Composite Key make Object Db throws "Unexpected exception (Error 990)"

Book { @EmbeddedId BookId id; } @Embeddable Class BookId { Integer bookIdCountry ... MyEntity {         @EmbeddedId public MyEntityId id;     }          @Embeddable     public static
Forum
1

LEFT JOIN FETCH over empty embedded collection returns no results

my original post: @Embeddable class A { String val; };   @Embeddable class B { List
Forum
1

Multi part paths in a composite index must have the same length

-  @Embeddable public class SafeLong implements Serializable, Comparable{     public long ... );         }     }         @Embeddable     public static class SafeLong {         public long value
Forum
1

Navigation through Path to evaluate collection

and the related embeddable class. Thanks public synchronized List getList(String key ... ; } @Embeddable public class ApiIdData_ implements Serializable {         private String apiName