About mappedBy

61-70 of 81Refresh
Forum
1

Failed to write the value of field using reflection (error 363) on LAZY fetch

=FetchType.LAZY, mappedBy="modell", cascade=CascadeType.ALL) private List articles = new
Forum
1

Find the error...JPA ENTITY HIBERNATE

message; @ManyToMany(mappedBy = "messages") private Set user; public Set getUser
Forum
1

find() delay

@JoinColumn(name="pid")   protected Node parent;   @OneToMany(mappedBy="parent",fetch=FetchType.EAGER
Forum
1

Foreign key constraint issue

    private long id;     @OneToMany(cascade = {CascadeType.MERGE, CascadeType.REMOVE}, mappedBy
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
Forum
1

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

  private long id;   @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL, mappedBy
Forum
1

Items in list are doubled, when the entity class is not enhanced

@GeneratedValue private Long id; @OneToMany(mappedBy = "customer",fetch= FetchType.EAGER
Issue
1

JPQL support for mapped by (inverse) collections

class A {         @Id @GeneratedValue long id;                 @OneToMany(mappedBy
Forum
1

List always null

= GenerationType.AUTO)     private Long id;     @OneToMany(targetEntity = Noticia.class, mappedBy = "categorias
Forum
1

Mapped (Inverse) LAZY @OneToMany vs. Unmapped LAZY @OneToMany

, mappedBy = "a", cascade = CascadeType.ALL)         List listA_mapped;         @OneToMany(fetch