About cascade

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

LAZY @ManyToOne field functions as EAGER

);         }         @ManyToOne(fetch=FetchType.LAZY, cascade= CascadeType.ALL)         C cLazy;                 @ManyToOne(fetch=FetchType.EAGER, cascade= CascadeType.ALL)         C cEager
Forum
1

Lazy loading does not work - crud takes long

, generator = "PROJECT_SEQUENCE")     private Long id;     ..     ..     @OneToMany(cascade ... datapoint;         @OneToMany(cascade = CascadeType.ALL, orphanRemoval = true, mappedBy