JPA « Facelets « JSF Q&A





2. EL: Iterate over "sub" entities (Hibernate, Facelets)?    coderanch.com

Hello, I have a Game class which represents a (sports) game DB table: @Entity @Table(name = "Games") public class Game implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name = "id") private Integer id; @Temporal(value = TemporalType.TIMESTAMP) @Column(name = "scheduled_tipoff") private Date scheduledTipoff; ... @OneToMany(targetEntity = Score.class, mappedBy = "game") private Set scores = new HashSet(); ... }A game has two associated ...