0 Replies Latest reply on Apr 7, 2009 9:12 AM by Pavel Zelenka

    JSF table with variable column count

    Pavel Zelenka Newbie

      Hi,

      I'd like to create table for orders so that orderItems would be in the same row in separate columns. Can anybody help?

      Thanks

      Pavel Zelenka


      @Entity
      public class OrderItem{
      private Integer id;
      private String description;
      }

      @Entity
      public class Order{
      @Id
      private Integer id;
      private Date datum;
      @OneToMany
      private List orderItems;
      }