ObjectDB ObjectDB

Internal Website Search

71-80 of 144 resultsRefresh
9

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

final long serialVersionUID = 998L;     @Id @GeneratedValue long id;     @Index private Long ... @GeneratedValue long id;         private Long instrumentId;         private SafeLong tStamp
9

Why are my Map entries not stored?

Why are my values of the map "states" not stored in the database? It seems the 'State' is stored, but not the 'Authority'? @Entity public class Ticket {     @Id @GeneratedValue     private long ... HashMap<State, Authority>(); } @Entity public class Authority {     @Id @GeneratedValue
9

Items in list are doubled, when the entity class is not enhanced

@GeneratedValue private Long id; @OneToMany(mappedBy = "customer",fetch= FetchType.EAGER ... final long serialVersionUID = 1L; @Id @GeneratedValue private Long id
9

Foreign key constraint issue

. The definitions of the classes I have are as follows: @Entity public class Child { @Id @GeneratedValue ... = parent;} } @Entity public class Parent { @Id @GeneratedValue private long id; @OneToMany(cascade
9

Problem with entities detection

.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import ... { private static final long serialVersionUID = 1L; @Id @GeneratedValue(strategy
9

Relationships and tracking changes

static final long serialVersionUID = 1L; @Id @Column(name = "ID") @GeneratedValue(strategy ... @Column(name = "ID") @GeneratedValue(strategy = GenerationType.AUTO) private Long id; @ManyToOne
9

Field in Generic Class not persisted?

; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence ... ; @Entity public class OBJ6 extends ABS<Long, OBJ6>{      @Id @GeneratedValue long id
9

Unable to persist fields in subclass

; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javafx.beans.property ... SimpleAbstractPersonTest { /** * */ @Id @GeneratedValue private long id; private int medicalRecordNumber
9

Version 2.2.7 build 7/8 issue

Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue ... { private static final long serialVersionUID = 1L; @Id @GeneratedValue private Long id
1

JPQL support for mapped by (inverse) collections

class A {         @Id @GeneratedValue long id;                 @OneToMany(mappedBy ... @GeneratedValue long id;                 @ManyToOne         A a;            } } The query in

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