0 Replies Latest reply on Mar 29, 2009 5:01 PM by santi ago

    how to generate list entity with seam-gen

    santi ago Newbie
      when i use seam-gen ,create my project, and the one-to-many relationship will generate a set variable in the many part,for example:
      private Set<InfoNet> infoNets = new HashSet<InfoNet>(0);

      but seam datatable does not work with hashset,it works well with list. so i want to know ,how to use seam-gen generate such an entity: the relationship will be:
      private List<InfoNet> infoNets = new ArrayList<InfoNet>(0);

      thx for every reply.