Internal Website Search

131-140 of 200 resultsRefresh

Problem on JPA Merge Entity.

Hello, I have a problem with the EntityManager.merge() function. I set a property value of an entity (statement) with an other entity (newSingleConstraint). newSingleValue is already persisted. I do this myself (no use of cascade

LifeCycle Event with Embeddable classes

id; private String description; @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER

Object belongs to another EntityManager - ERROR

] (http--10.23.3.98-8081-5) at com.objectdb.o.TVS.cascade(TVS.java:156) 10:29:15,113 ERROR [stderr

Performance and memory usage of queries

public static class MyEntity {   @OneToMany(cascade = CascadeType.ALL)   private List<

Query over the keySet of a map field with collection parameter

(String name) { value = name; } @OneToMany (cascade = CascadeType

Soft Reference Object Cache Recommendation

see cascading ENT and ENT[] references and a lot of __odbTracker fields.  (ENT.png attached

Connection is closed Caused by: java.io.EOFException

="weak" level2="0" /> <cascade-persist always="auto" on-persist="false" on-commit="true" />

ArrayIndexOutOfBoundsException on flush

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

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

; @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL, orphanRemoval = true)  

Use temporary files to enable very large transactions

;               <cascade-persist