Home » Search

About cascade

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

Merge on detached entities

of referenced entities was null - but just because that collection was not yet loaded. The cascade type ... regarding fetch types and cascades. Kind regards Because all the owned persistent fields (excluding
Forum
1

Merge with Parent/Child entities not possible

= FetchType.LAZY, cascade = CascadeType.ALL, mappedBy = "parent", orphanRemoval = true)   @MapKey ... long id;   @ManyToOne(fetch = FetchType.LAZY, cascade = { CascadeType.PERSIST, CascadeType.MERGE
Forum
1

Need help to make this test work and define proper annotations for entities Lists

: customer name result.order.name: null Cascading of the persist operation from OrderDat to CustomerDat ... {         ...         @ManyToOne(cascade=CascadeType.PERSIST)         public CustomerDat customer
Forum
1

null pointer exception in objectdb-2.4.4_06

.objectdb.o.TVS.cascade(TVS.java:156) at com.objectdb.o.STA.Q(STA.java:476) at com.objectdb.o.STM.E(STM ... via cascading) an object with a null primary key. Build 2.4.4_17 may provide a better error message in this case. CalculationServices