ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh
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
7

Merge on detached entities

was not yet loaded. The cascade type for this reference was set to ALL. Then we tried to merge ... . What settings on annotations are needed regarding fetch types and cascades. Kind regards btc_es
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

ObjectDB Explorer don't show ManyToOne relations

= ModelElementImpl.class, cascade = {CascadeType.REFRESH}) private ModelElement parent; } If we use ... .class, cascade = {CascadeType.REFRESH}) private ModelElementImpl parent; } Can you fix this in
7

Replication error on slave restart

" /> <persist serialization="false" /> <cascade-persist always="auto" on-persist="false" on-commit ... " />   <cache ref="weak" level2="0" />   <persist serialization="false" />   <cascade-persist
7

Replication issue, Replayer failing due to NullPointerException.

="error" /> <cache ref="weak" level2="0mb" /> <persist serialization="false" /> <cascade-persist ... " /> <cascade-persist always="auto" on-persist="false" on-commit="true" /> <dirty-tracking arrays="false
7

PersistenceException: Failed to locate field

"/> <fetch hollow = "true"/> <persist serialization = "true"/> <cascade-persist ... "/>     <persist serialization = "false"/>     <cascade-persist always = "true" on-persist = "true
7

Why are my Map entries not stored?

id;     @OneToMany(fetch = FetchType.EAGER, cascade=CascadeType.ALL, mappedBy = "ticket ... Martin Petzold I have now changed to and it is working: @OneToMany(fetch = FetchType.EAGER, cascade
1

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

ArrayList<Element>(); @OneToMany(mappedBy = "owner", cascade = CascadeType.ALL) public ... ", cascade = CascadeType.ALL, fetch=FetchType.EAGER) public List<Element> getOwnedElements
1

NullPointerException on TreeSet load

(cascade=CascadeType.PERSIST)         Set<MyElement> set = new TreeSet();     }          @Entity ... {         @OneToMany(cascade=CascadeType.PERSIST, fetch = FetchType.EAGER)         Set<MyElement> set

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