Hi,
I spent a couple days on it and I've found that fetching related object helps,
so I changed the query on the following
| person = (Person) entityManager.createQuery("select p from Person p join
fetch p.countrywhere p.login = :login").setParameter("login",
Identity.instance().getUsername()).getSingleResult();
|
Now the scenario (the person is updated) works in both situations if I change
country selecting from <s:selectItems> and if I don't.
Best regards,
jquery
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030524#4030524
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030524
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user