Yes. I'm working my way through the Hibernate book so I'm not 100% that this is
the correct way - but it works.
You need to explicitly add the PERSON to the Collection of PERSONs in the CITY
when doing the persist. I'm not in front of my normal laptop but the code looks
something like this:
I am having a similar refresh issue. The database is being updated correctly,
but the context variables managed by SEAM are not reflecting the updates. When
I navigate away from the page and come back, the context variables are
refreshed from the database and the page renders correctly.
Wer
I've recreated this with a simple example using Seam Gen. If you have a PERSON
entity and a CITY entity. Then you wish to show a list of CITYs with a column
holding a ui:repeat (or similar) displaying all associated PERSONs. The cause
of the problem is that this is an "all-in-one" type page wher
Show your JSF and your backing beans
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041190#4041190
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041190
___
jboss-user mailing
sorry about the crappy layout of the post above.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040999#4040999
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040999
___
jboss