Home » Search

About mappedBy

51-60 of 80Refresh
Forum
1

"Failed to serialize instance" of Set problem

Hi, I'm trying to persists objects defined as follows: @Entity @Inheritance(strategy = InheritanceType.SINGLE_TABLE) public abstract class AbstractContainer { ... @OneToMany(fetch = FetchType.LAZY, mappedBy="parent") private Set abstractContainers = com.google.common
Forum
1

"Problem" with cross join

; @OneToMany(mappedBy="ci") private List content; abstract class CIdata (@Inheritance(strategy
Forum
1

@OneToOne query issue with OR and IS NULL

Hello, I'm struggeling to get a query run right. I have 2 entities (simplified) class A {     @Id     @GeneratedValue     private Long key;          @OneToOne(mappedBy = "other", cascade = CascadeType.ALL)         private B another } class B {     @Id     @GeneratedValue
Forum
1

_PersistenceException: Type is not found on getSingleResult.

;     @ManyToOne     private Municipio lugarNacimiento;         @OneToMany(mappedBy = "estudiante
Forum
1

Beginners questions

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

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

: @Entity public class Invoice { @OneToMany(mappedBy = "invoice", fetch= FetchType.EAGER
Forum
1

Cascading persistence through an inverse field

{ @ManyToMany(mappedBy="points", cascade={PERSIST, REFRESH, MERGE}) private Set
Issue
1

Enhanced classes problem

: Info about the field and annotations: @OneToMany(fetch = FetchType.EAGER, mappedBy = "jobInfoId
Forum
1

Error during cascaded merge

.receiveTime"}),}) public class Unit implements Serializable, Comparable { ... @OneToMany(mappedBy
Forum
1

Extra uninitialised entities spawned on merge()

ArrayList();         @OneToMany(mappedBy = "owner",         cascade = CascadeType