ObjectDB ObjectDB

Internal Website Search

101-110 of 200 resultsRefresh
7

Extra uninitialised entities spawned on merge()

ArrayList<Element>();         @OneToMany(mappedBy = "owner",         cascade = CascadeType ... , whereas others might thown an exception immediately. The merge() operation can be optionally cascaded in these cases
7

Need help to make this test work and define proper annotations for entities Lists

order.name: customer name result.order.name: null lo Hoel Cascading of the persist operation from ... Serializable {         ...         @ManyToOne(cascade=CascadeType.PERSIST)         public CustomerDat
7

OEM enhancing

Hello, I have question regarding OEM licence enhancement. @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL) private SomeClass[] props; @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL) private Map<String, SomeClass2> vars = new TreeMap<String, SomeClass2
7

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

(Assignement.PK.class) public class Assignement {     @Id @ManyToOne(cascade = CascadeType.ALL, optional = false)     private User user;         @Id @ManyToOne(cascade = CascadeType.ALL, optional
7

Foreign key constraint issue

private long id; @ManyToOne(optional = false, cascade = {}) @JoinColumn(name="PARENT_ID", nullable ... = parent;} } @Entity public class Parent { @Id @GeneratedValue private long id; @OneToMany(cascade
7

EM.find() is suddenly slower

= FetchType.EAGER, cascade = {CascadeType.REFRESH, CascadeType.DETACH }) private ModelElementImpl element; @OneToMany (fetch = FetchType.EAGER, cascade = {CascadeType.REFRESH, CascadeType.DETACH
7

null pointer exception in objectdb-2.4.4_06

.objectdb.o.TVS.cascade(TVS.java:156) at com.objectdb.o.STA.Q(STA.java:476) at com.objectdb.o.STM.E(STM ... an attempt to persist (indirectly via cascading) an object with a null primary key. Build 2.4.4_17
1

java.lang.NullPointerException during access a field, only if the classes enhanced

.TVS.cascade(TVS.java:156) at com.objectdb.o.STA.Q(STA.java:476) at com.objectdb.o ... .TVS.cascade(TVS.java:156) at com.objectdb.o.STA.Q(STA.java:476) at com.objectdb.o.STM.E(STM.java
1

ArrayIndexOutOfBoundException

are also entities without no reference to another entity. These entities are not persist in cascade ... .EAGER) annotation. I am not sure wheather this annotation is allowed when not cascade persist
1

Internal exception

.cascade(TVS.java:156) at com.objectdb.o.STA.Q(STA.java:476) at com.objectdb.o.STM.E(STM.java:408 ... indicates a failure to cascade persist operation from unknown reason during that flush. Any

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