3 Replies Latest reply on Feb 17, 2011 1:50 PM by Serkan Eskici

    m:n relations? ("Property not found on type org.hibernate.collection.PersistentSet")

    Cris Grama Newbie
      Hello all,

      I have a bit of trouble showing data retrieved through m:n relations. In particular, I am using a richDataTable to show "problems" and their "solutions". In the database, I have a "problem" and a "solution" table, as well as a "problem2solution" table which associates solutions to a problem.

      My code (snipped to the relevant parts):
      <rich:dataTable value="#{ManageProblems.problems}" var="problem">
           <h:outputText value="#{problem.problem2solution.description}"/> -- this line leads to the error "Property 'description' not found on type org.hibernate.collection.PersistentSet"

      Is this possible in Seam? If yes, how could this be modelled?

      Thank you!