relationship « Struts « JPA Q&A





1. Struts2 hibernate one-to-many relationship 1323    stackoverflow.com

I am trying to display value from two table Activites and Favorites using struts2 and hibernate one-to-many relationship

     //Activities
        @Entity
 ...

2. [Struts] many-to-one relationships and the web-tier    forum.hibernate.org

Hibernate version: 2.1.8 Name and version of the database you are using: MySQL 4.0.18 I have a question about many-to-one mappings in a Struts webtier. Especially about how to approach this kind of implementations. One thing I could do is load all the many-to-one collections in my Struts action and display them in a select-box, just with their ID's as value. ...