About cascade

91-100 of 200Refresh
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" />                
Forum
1

Extra uninitialised entities spawned on merge()

ArrayList();         @OneToMany(mappedBy = "owner",         cascade = CascadeType ... , whereas others might thown an exception immediately. The merge() operation can be optionally cascaded in
Forum
1

Foreign key constraint issue

    @GeneratedValue     private long id;     @ManyToOne(optional = false, cascade = {})     @JoinColumn(name ...     private long id;     @OneToMany(cascade = {CascadeType.MERGE, CascadeType.REMOVE}, mappedBy
Forum
1

How to delete M2M relationship?

In user model class I have the following: public class User implements Serializable {     @Id     @GeneratedValue(strategy = GenerationType.AUTO)     private Long id;     @ManyToMany(mappedBy = "attendees", cascade = CascadeType.ALL)     @Cascade(org.hibernate.annotations.CascadeType
Issue
1

Internal exception

.TVS.cascade(TVS.java:156) at com.objectdb.o.STA.Q(STA.java:476) at com.objectdb.o.STM.E(STM.java:408 ... to cascade persist operation from unknown reason during that flush. Any more information could help
Forum
1

Is it possible to remove parent/child entities without refresh?

  private long id;   @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL, mappedBy ... {   @Id   @GeneratedValue   private long id;   @ManyToOne(fetch = FetchType.LAZY, cascade
Issue
1

java.lang.NullPointerException during access a field, only if the classes enhanced

.o.TVS.cascade(TVS.java:156) at com.objectdb.o.STA.Q(STA.java:476) at com.objectdb ... (TVS.java:169) at com.objectdb.o.TVS.cascade(TVS.java:156) at com.objectdb.o.STA.Q(STA.java:476