Home » Search

About cascade

81-90 of 195 Refresh
Forum
1

@Column( name = "columnName") doesn't work

; @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL) @Column( name = "DATA_ITEMS" ) private List dataItems; @OneToOne(fetch = FetchType.LAZY, cascade
Issue
1

After using the enhancer, Lazy loaded collections are no longer loading. They are set as null

(Long id) { this.id = id; } @OneToMany( cascade={CascadeType.MERGE ... static class Account     {         @Id         protected Long id = 1L;         @OneToMany( cascade
Issue
1

ArrayIndexOutOfBoundException

persist in cascade, but explicitly by calling persist. The problem dissapeared when removing ... cascade persist is used? The exception occurs when trying to delete: beginTransaction(); find
Forum
1

can't get HashMap out of the database

(fetch=FetchType.EAGER, cascade=CascadeType.ALL) private HashMap map = new HashMap ... =FetchType.EAGER, cascade=CascadeType.ALL)     private ArrayList guests = new ArrayList
Forum
1

Cannot sort descending, when ordering by caluculated float in a method

( cascade=CascadeType.PERSIST)         private List itemList = new ArrayList cascade= 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