ObjectDB ObjectDB

Internal Website Search

51-60 of 142 resultsRefresh
11

Apparent Lazy Loading issues.

apply to the map value." This appears to mean that if I have cascade=CascadeType.ALL on a OneToMany map ... to have CascadeType.ALL. The test created the AttributeNames via the dao prior to trying to persist. The list ... about trying to reuse a primary key for AttributeName. So I removed the CascadeType.All from Holder
9

Performance issues on aggregate query

=CascadeType.REMOVE) @Index public List<ObjectProperty> properties = new ArrayList<ObjectProperty ... >(); @OneToMany(fetch=FetchType.LAZY,cascade=CascadeType.REMOVE) public List<ObjectProperty> supportingData
9

Double persist of Entity field with Cascade.ALL

I am building a JavaEE application using Netbeans 7.0.1, Glassfish 3.1 and ObjectDB 2.3.3. I have a Book class with entity field Chapter which has a CascadeType.ALL property. The Book fields are as ... bookTitle; @OneToMany(cascade= CascadeType.ALL, fetch= FetchType.EAGER) private List<Chapter
9

Multiple Collection Fields not update correctly

and they both reciprocally do: EntityB: @OneToOne(cascade = CascadeType.ALL) EntityA entityA; EntityA: @OneToOne(cascade = CascadeType.ALL) EntityB entityB; If I make only one of the cascade, then this bug does not occur
9

Optimistic locking: prevent version increment on entity collection attribute

", cascade=CascadeType.PERSIST)     private List<Reading> readings = new ArrayList<Reading ... ; @Id private long id = ID_SEQ++; @OneToMany(mappedBy="document", cascade=CascadeType.PERSIST
9

Performance and memory usage of queries

.persistence.CascadeType; import javax.persistence.ElementCollection; import javax.persistence.Entity ... {   @OneToMany(cascade = CascadeType.ALL)   private List<MyEntityElement> list = new ArrayList
9

Database(*.odb) file size on disk

; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence ... (cascade = CascadeType.ALL)   EntityB entityB = null; } @Entity public static class EntityB
1

ClassCastException after upgrade to 2.3.5_03

{ @Id String id; @OneToOne(orphanRemoval=true, cascade=CascadeType.ALL, fetch=FetchType.EAGER) private Object payload; @OneToOne(orphanRemoval=true, cascade=CascadeType.ALL, fetch=FetchType
1

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

.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax ... = CascadeType.ALL, orphanRemoval = true)   private Map<String, ChildEntity> childEntityContainer = new
1

NullPointer when accessing persistent field

) The code being called is accessing a map declared as follows; @OneToMany(cascade=CascadeType ... was being accessed. @OneToMany(cascade=CascadeType.ALL, mappedBy="z_aqera") @MapKey(name="z_registerId

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