Hi, though you already solved the problem, here is another idea: you could also use Inheritance strategies.
Declare your Address entity this way: @Entity | @Inheritance(strategy=InheritanceType.SINGLE_TABLE) | public abstract class Adress implements Serializable | { | Let Person and Customer inherit from them: @Entity | @DiscriminatorValue(value="person") | public class Person extends Address | { Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216534#4216534 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216534 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user