playframework « Entity « JPA Q&A





1. how can I create entity with 2 element collections?    stackoverflow.com

I have an entity object which contains two element collections as such:

@Entity
public class Report {

    // Electronic transactions items map
    @ElementCollection(fetch = FetchType.EAGER)
   ...