ok, then try something like this
PartyIsPerson p = new PartyIsPerson();
| p.setUsername("Guest"); //Guest
| p.setPassword("Guest"); //Guest
| p.setForename("Guest"); //Guest
| p.setLastname("Guest"); //Guest
|
| em.persist(p); //will assign an auto generated id
|
| PersonHasCustomization phc = new PersonHasCustomization();
|
| phc.setPartyidperson(p.getPartyId());
|
| phc.setLocale("DE_de");
| p.setCustomization(phc);
|
| em.merge(p);
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082722#4082722
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082722
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user