ObjectDB ObjectDB

Internal Website Search

11-17 of 17 resultsRefresh

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

a Map, and uses a Compound Primary Key. The contained class therefore uses an @IdClass. This all works ... ; import javax.persistence.Id; import javax.persistence.IdClass; import javax.persistence.ManyToOne; import javax.persistence.Version; @Entity @IdClass(CompoundKeyMapItem.CompoundKeyMapItemId.class

EmbeddedId with Generated field value

I know the following 2 ways to declare a composite Primary key: ********* Solution 1 ********* @Entity @IdClass(CompositePK.class) public class A {     @Id private long uid;     @Id private ... only for entity objects (and not for embeddable classes). Consider using: @IdClass(ZoneId.class

Error opening database with ObjectDB Explorer when using composite key

@IdClass(PersonId.class) public class Person { public enum Gender {FEMALE, MALE}; @Id

em.flush(); em.clear(); loosing data and not persisting managed objects

with String Primary Keys, I'm going to try the other multi ID method of @IdClass and multiple @Id

ODB with Netbeans

a JPA restriction. "An entity or IdClass class should implement the java.io.Serializable interface

Object explorer cannot open odb file. ObjectDB many-to-many relationship

") @MapKey     private Map<Assignement.PK, Assignement> assignements; } @Entity @IdClass

ObjectDb Doctor : Failed to locate set method for field property com.test.Video$VideoId.sourceId using reflection (error 316)

") @IdClass(Video.VideoId.class) public class Video { protected String provider; protected

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