EJB3 Entity and Lazy Problem
- by Stefano
My Entity beAN have 2 list:
@Entity
@Table(name = "TABLE_INTERNAL")
public class Internal implements java.io.Serializable {
...SOME GETTERS AND SETTERS...
private List<Match> matchs;
private List<Regional> regionals;
}
mapped one FetchType.LAZY and one FetchType.EAGER :
@OneToMany(fetch = FetchType.LAZY,mappedBy =…