ObjectDB ObjectDB

Internal Website Search

131-140 of 200 resultsRefresh

LifeCycle Event with Embeddable classes

Hello, is there a way that lifecycle events like prepersist or preupdate are also fired for embeddable classes, not just for entities? My case looks as follows: @Entity public class Foo { @Id @GeneratedValue private Long id; private String description; @OneToMany(cascade

Object belongs to another EntityManager - ERROR

:169) 10:29:15,110 ERROR [stderr] (http-- at com.objectdb.o.TVS.cascade(TVS.java

Performance and memory usage of queries

{   @OneToMany(cascade = CascadeType.ALL)   private List<MyEntityElement> list = new ArrayList

Query over the keySet of a map field with collection parameter

; } @OneToMany (cascade = CascadeType.ALL) public Map<String, EntityChild> map = new HashMap

Soft Reference Object Cache Recommendation

" that is a strong reference to that SoftReference. Under "i", I see cascading ENT and ENT[] references

Connection is closed Caused by: java.io.EOFException

" /> <cascade-persist always="auto" on-persist="false" on-commit="true" /> <dirty-tracking arrays

TemporalType injection with Calendar using JPA

; } @OneToMany(cascade=javax.persistence.CascadeType.ALL,fetch=javax.persistence

ArrayIndexOutOfBoundsException on flush

: @OneToMany(orphanRemoval=true, cascade=CascadeType.ALL) private Map<String, TaskNode> _nodes; The TaskNode

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

;   } } @Entity public static class ParentEntity {   @OneToMany(fetch = FetchType.LAZY, cascade

Use temporary files to enable very large transactions

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

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