ObjectDB ObjectDB

Internal Website Search

101-110 of 162 resultsRefresh
8

Unexpected exception (error 990)

.java:41) //This is the code: //CLASS PEOPLE AND WORKER @Embeddable public class Persona implements ... a persistable type but is not defined as embeddable/entity. support Support Yas! I did the changes
8

Performance in SELECT statement

... } @Embeddable public class State {     private Long lastProcessingDate;     private int ... directly on a field of embeddable class. Define a path index on TestEntity instead: @Entity @Index
8

Query on Embedded Primary Key?

.util.List; import javax.persistence.Embeddable; import javax.persistence.EmbeddedId; import javax ... ();     }             @Embeddable public static class Primkey2 implements Serializable {     public long field1;     public
8

LEFT JOIN FETCH over empty embedded collection returns no results

my original post: @Embeddable class A { String val; }; @Embeddable class B { List<A> aList
8

Index on map key

();         }     }         @Embeddable     public static class MyEntry {         String key;         String value ... <MyEntry>, i.e. a collection of a key-value embeddable objects. An index on the key is defined using
8

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
8

Exception after update of indices of Entity class

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

Storing a tree of data (depth=3)

@Entity and @Embeddable) and a roleName (String) There are other data like list of directors, list ... private String fullName; } @Embeddable @Data @NoArgsConstructor @RequiredArgsConstructor
1

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

Book { @EmbeddedId BookId id; } @Embeddable Class BookId { Integer bookIdCountry ... ;     }          @Embeddable     public static class MyEntityId {         public EEnum enumeration
1

Error reading UTF string (Serialized Objects in Explorer)

serializable types is not recommended (embeddable classes should be used instead) and is not fully ... all your classes. But if Money is serializable and changing it to embeddable is possible - this is the preferred

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support