Home » Search

About CascadeType

81-90 of 124 Refresh
Issue
1

ArrayIndexOutOfBoundsException on flush

a HashMap object within the parent entity: @OneToMany(orphanRemoval=true, cascade= CascadeType
Forum
1

Beginners questions

=FetchType.LAZY,cascade= CascadeType.ALL, mappedBy="VERLAG_ID") private List users; Table
Forum
1

Bidirectional OneToMany is slow on updated items

dramatically, is to avoid using mapped by collections: @OneToMany(cascade = { CascadeType
Forum
1

Broken @ManyToOne reference

Hi, I have objects of type A belonging to objects of type B, defined as follows: @MappedSuperclass public abstract class A { @Id @ManyToOne(fetch = FetchType.EAGER, cascade= CascadeType.ALL, optional=false) private B b; @Id @Column(length = 36) private String stringId
Forum
1

Cascading merge() leading to "Attempt to persist a reference to a non managed instance" error

(cascade = CascadeType.ALL)     @SuppressWarnings("unused")     private Parent owner;     public
Forum
1

Different behavior with persist() and queried instances?

Hi, We have a simple class that by itself contains (among others) a property pointing to a collection: class Bla {     @OneToMany(cascade = CascadeType.ALL)     private List metaAttributes = new ArrayList (); } Now we do a simple em.persist(BlaInstance
Forum
1

Does ObjectDB support lazy loading?

@GeneratedValue Long id; @OneToMany(fetch=FetchType.LAZY, cascade= CascadeType.ALL) List list
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.ALL) This is what it remains when I check the removed object from another object's attributes     It is the application
Forum
1

Error 363 - Failed to read value of inverse relationship

String text; @OneToMany(/*fetch=FetchType.LAZY, cascade= CascadeType.ALL, */mappedBy
Forum
1

Error during cascaded merge

= "unit", cascade = CascadeType.ALL, orphanRemoval = true, fetch = FetchType.EAGER)     @OrderBy