ObjectDB ObjectDB

Internal Website Search

91-100 of 200 resultsRefresh

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

LAZY @ManyToOne field functions as EAGER

);         }         @ManyToOne(fetch=FetchType.LAZY, cascade= CascadeType.ALL)         C cLazy;                 @ManyToOne(fetch=FetchType.EAGER, cascade= CascadeType.ALL)         C cEager

Is it possible to remove parent/child entities without refresh?

  private long id;   @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL, mappedBy ... {   @Id   @GeneratedValue   private long id;   @ManyToOne(fetch = FetchType.LAZY, cascade

can't get HashMap out of the database

Date signingDate;     @OneToMany(fetch=FetchType.EAGER, cascade=CascadeType.ALL) private ... Long id; @OneToMany(fetch=FetchType.EAGER, cascade=CascadeType.ALL)     private ArrayList

PersistenceException: Failed to locate field

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

TreeSet and compareTo() issue

to do! Thanks Russ russ0ne Russell Martin Thank you for the test case. Please note that cascading persist should be added to make the test valid:     @OneToMany(fetch = FetchType.EAGER, cascade

Merge with Parent/Child entities not possible

= FetchType.LAZY, cascade = CascadeType.ALL, mappedBy = "parent", orphanRemoval = true)   @MapKey ... long id;   @ManyToOne(fetch = FetchType.LAZY, cascade = { CascadeType.PERSIST, CascadeType.MERGE

Upgrade to 2.4.1_01

our code for 2.3.7_18, we had @OneToOne(cascade=CascadeType.ALL, fetch=FetchType.EAGER ... .visitRefs(CLT.java:160) at com.objectdb.o.TVS.j(TVS.java:169) at com.objectdb.o.TVS.cascade(TVS.java

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

serialization="false" />                 <cascade-persist always="auto" on-persist="false" on-commit ... " />                 <cascade-persist always="auto" on-persist="false" on-commit="true" />                 <dirty

Unexpected Exception during commit

.j(TVS.java:169) at com.objectdb.o.TVS.cascade(TVS.java:156) at com.objectdb.o.STA ... to the stack trace, during commit an attempt to cascade persist through an inverse (mapped by) collection

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