Home » Search

About cascade

61-70 of 200Refresh
Forum
2

OptimisticLockException

cascade the refresh (ie for collections held by the object modified)? Can cascading refresh be set in ... . Cascading refresh is set by annotations. sorry for all the questions but this is still unclear ... cascading refreshes. ie: I think I have: pessimistic locking + enhancement + refresh on all objects
Forum
2

collection of embedded objects

@Entity, does the remove cascade through the whole collection? 3. Is searching through collections ... annotation on the collection to specify fetch policy. Currently ObjectDB doesn't cascade operations unless it is explicitly required. Since you cannot specify cascade in @ElementCollection
Forum
2

Database Inconsistency or corruption

with Cascade.ALL. That is, when merging an ObjectValue, the merge operation is propagated ... with cascade, so I persisted manually all referenced Attributes and the corresponding values. But I still got ... ;   @javax.persistence.OneToMany(cascade=javax.persistence.CascadeType.ALL, fetch =   javax
Forum
2

Is it ok to put list or map of embeddable objects in entity ?

: @Embeddable public class EmbeddableB implements Serializable { (...) @OneToMany(cascade ... are cascade operations not supported with Embeddable classes ? One more thing I discovered recently ... (cascade = CascadeType.ALL)     List embeddableBList; } It is not portable JPA
Issue
2

Best practise loading big data

public long Id = 1; @OneToMany (cascade = CascadeType.ALL, targetEntity = MyStepBlock ... <>(); } @Entity static class MyStepBlock { @OneToMany (cascade = CascadeType.ALL, targetEntity ... ;         @OneToMany(cascade=CascadeType.ALL)         List stepBlocks
Forum
2

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

") private int id; @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL) private List ... = FetchType.LAZY, cascade = CascadeType.ALL) private ByteData bydaData; public Parent ... ) private int id; @OneToOne(fetch = FetchType.LAZY, cascade = CascadeType.ALL) private OTO oto
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

Dirty checking

to manually save each one. Question: What's the best way to cascade persistence of Entities ... to discuss cascading, as it is not directly related to the subject of this forum thread ("Dirty checking ... them Entities instead. will move cascading discussion to a new thread. thanks   dmoshal
Forum
2

Error 613 - i cant put a list<Athlete> into a Squad object

commit. Annotate the athletes collection using @OneToMany(cascade=CascadeType.PERSIST). Annotate the athletes collection using @OneToMany(cascade=CascadeType.ALL). Set global automatic cascading persist