Internal Website Search

91-100 of 200 resultsRefresh

Performance issues on aggregate query

; precessors = new ArrayList<ObjectNode>(); @OneToMany(fetch=FetchType.LAZY,cascade=CascadeType ... = new ArrayList<ObjectNode>(); @OneToMany(fetch=FetchType.LAZY,cascade=CascadeType

ManyToMany Set is null

= FetchType.EAGER, cascade={CascadeType.DETACH,CascadeType.MERGEEAGER, cascade={CascadeType.DETACH,CascadeType.

General Performance Issues Illustrated with a Specific Method

serialVersionUID = 1L; @Index @OneToOne(cascade = CascadeType.ALL,fetch = FetchType.EAGER

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

> Cascading of the persist operation from OrderDat to CustomerDat is missing. Try: cascade=CascadeType.PERSIST)         public

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

; @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL, mappedBy = "parent", orphanRemoval ... .LAZY, cascade = { CascadeType.PERSIST, CascadeType.MERGE, CascadeType.REFRESH })   private

Merge with Parent/Child entities not possible

; @GeneratedValue   private long id;   @OneToMany(fetch = FetchType.LAZY, cascade ... id;   @ManyToOne(fetch = FetchType.LAZY, cascade = { CascadeType.PERSIST, CascadeType.MERGE

TreeSet and compareTo() issue

Russell Martin Thank you for the test case. Please note that cascading persist should be added ... = FetchType.EAGER, cascade=CascadeType.PERSIST)     private Set<DropdownValue>

How to delete M2M relationship?

; @ManyToMany(mappedBy = "attendees", cascade = CascadeType.ALL)     @Cascade

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

public void setId(Long id) { this.id = id; } @OneToMany(cascade ... ;      @OneToMany(cascade={CascadeType.MERGE, CascadeType.PERSIST},  

ArrayIndexOutOfBoundException

are also entities without no reference to another entity. These entities are not persist in cascade ... when not cascade persist is used? The exception occurs when trying to delete: