About cascade

81-90 of 200Refresh
Forum
2

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

.objectdb.o.TVS.cascade(TVS.java:156) at com.objectdb.o.TVS.g(TVS.java:105) at com.objectdb.o.TVS.g ... cascade=CascadeType.DETACH or CascadeType.ALL to every relationship because it doesn't detach without it. Following your report we found and fixed (in build 2.6.1_01) a bug in cascading detach
Forum
2

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
Forum
2

significant performance decrease

="false" /> <cascade-persist always="auto" on-persist="false" on-commit="true" /> cascade=CascadeType.REMOVE) public List properties = new ArrayList ... = new ArrayList(); @OneToMany(fetch=FetchType.LAZY,cascade=CascadeType.REMOVE
Forum
2

Storing objects problem

= interfaceMy;   } } } Your code persists only the root object. If you want to cascade the persist ... an annotation to a reference:   @OneToMany(cascade=CascadeType.PERSIST)   private List children; You may also specify cascading persist globally as explained in the manual. kiki
Forum
2

Updating Entities

... How do I ensure that any changes done to paygradeDB cascade into employeeDB? Please try to demonstrate ... when there is a modification made that needs to cascade throughout the entire application. I don't want to tell ... why the changes weren't cascading as I had expected them to. I came up with this idea and it worked
Forum
1

can't get HashMap out of the database

(fetch=FetchType.EAGER, cascade=CascadeType.ALL) private HashMap map = new HashMap ... =FetchType.EAGER, cascade=CascadeType.ALL)     private ArrayList guests = new ArrayList
Forum
1

Cannot sort descending, when ordering by caluculated float in a method

(cascade=CascadeType.PERSIST)         private List itemList = new ArrayListcascade= CascadeType.ALL) private List itemList = new
Issue
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
Forum
1

Entity not removed 100%

When I remove an object from a class it get's removed but the other objects that had that object as an attribute still keep it although I am using @OneToMany(cascade=CascadeType ... responsibility to clear references to removed objects. Cascading removal operates
Forum
1

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

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