ObjectDB ObjectDB

Internal Website Search

81-90 of 200 resultsRefresh
9

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

.visitRefs(CLT.java:161) at com.objectdb.o.TVS.j(TVS.java:169) at com.objectdb.o.TVS.cascade(TVS ... ) at com.objectdb.o.TVS.cascade(TVS.java:156) at com.objectdb.o.STA.Q(STA.java:476) at com.objectdb.o ... (); em.persist(project); //rely on Cascade all on ownedElements. The reported error
9

mappedBy problem

Lao There was a bug in cascading operations through inverse (mapped by) fields - thank you for your report. Build 07 should fix this problem. Please try it. You will have to add cascade=CascadeType.PERSIST to the mapped by field, unless you have global persist cascade enabled. support Support Using
9

A lot of ENT and SIV instances which are not cleared by GC

.o.CLT.visitRefs(CLT.java:156) at com.objectdb.o.TVS.j(TVS.java:169) at com.objectdb.o.TVS.cascade ... ) I don't see any differences of this entities from another ones. Also I've added cascade=CascadeType ... Myachikov Following your report we found and fixed (in build 2.6.1_01) a bug in cascading detach
9

@OneToMany(fetch = FetchType.LAZY) list is always null

") private int id; @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL) private List ... and setters } public class Parent { // ...id @OneToOne(fetch = FetchType.LAZY, cascade ... .AUTO) private int id; @OneToOne(fetch = FetchType.LAZY, cascade = CascadeType
9

Mapped (Inverse) LAZY @OneToMany vs. Unmapped LAZY @OneToMany

() + "}" + "[" + id + "]\"" + name + "\"";         }         @ManyToOne(fetch = FetchType.LAZY, cascade ... = "a", cascade = CascadeType.ALL)         List<A> listA_mapped;         @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL)         List listB_unmapped;     }     @Entity
9

Left join fetch behaviour doesn't retrieve children?

));         }                 @ManyToMany(targetEntity = MyEntityChild.class, cascade = CascadeType ... + various cascade combinaison + merge / persist parents and childs + add indexes ) to bere sure all is fine ... ; } private MyEntityChild entityChild = null;   @OneToOne(targetEntity = MyEntityChild.class, cascade
9

Apparent Lazy Loading issues.

state: "When the collection is a java.util.Map, the cascade element and the orphanRemoval element apply to the map value." This appears to mean that if I have cascade=CascadeType.ALL on a OneToMany map, then the cascade ONLY applies to the values, NOT to the key. This means all keys MUST be created
7

Performance issues on aggregate query

<ObjectNode> precessors = new ArrayList<ObjectNode>(); @OneToMany(fetch=FetchType.LAZY,cascade ... >(); @OneToMany(fetch=FetchType.LAZY,cascade=CascadeType.REMOVE) public List<ObjectProperty> supportingData
1

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

, which using a serious of cascading lazy builder methods (with complex entity building and wiring ... // of entities using cascading lazy creation methods. } return project ... ]"); // Would normally do other builder stuff here for project .. // before using in other cascading lazy
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

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