If it's not required then set it to null.

You could also do it in an action method  - client.setAddress(new Address()); 
if you want more control over whether an address is created or not.

Sorry, my code wasn't complete - you would need a association annotation with 
at least cascade=PERSIST

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961259#3961259

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961259
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to