ObjectDB ObjectDB

Internal Website Search

71-80 of 86 resultsRefresh
8

Error during cascaded merge

.receiveTime"}),}) public class Unit implements Serializable, Comparable<Unit> { ... @OneToMany(mappedBy
8

List always null

.AUTO)     private Long id;     @OneToMany(targetEntity = Noticia.class, mappedBy = "categorias
8

Failed to write the value of field using reflection (error 363) on LAZY fetch

=FetchType.LAZY, mappedBy="modell", cascade=CascadeType.ALL) private List<Artikel> articles = new
8

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

@GeneratedValue private Long id; @OneToMany(mappedBy = "customer",fetch= FetchType.EAGER
8

Removing an element from an @OneToMany doesn't work

Hello. I have a Parent and Child entities. // in the parent @OneToMany(mappedBy = "parent", fetch = FetchType.EAGER, cascade = CascadeType.ALL) private List<Child> children; // in the child @ManyToOne private Parent parent; Somewhere I do this: parent.getChildren().remove(0
8

Foreign key constraint issue

= {CascadeType.MERGE, CascadeType.REMOVE}, mappedBy = "parent", orphanRemoval = true) List<Child
8

Mapped (Inverse) LAZY @OneToMany vs. Unmapped LAZY @OneToMany

= CascadeType.ALL)         A a; //maps: listA_mapped         @OneToMany(fetch = FetchType.LAZY, mappedBy
8

"Problem" with cross join

; @OneToMany(mappedBy="ci") private List<CIdata> content; abstract class CIdata (@Inheritance(strategy
8

Extra uninitialised entities spawned on merge()

ArrayList<Element>();         @OneToMany(mappedBy = "owner",         cascade = CascadeType
8

Problem with entities detection

; @OneToMany(mappedBy = "idAlumno") private List<AsignaturasAlumno> asignaturasAlumnoList

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