I think you mave have failed to instantiate an instance of Person inside 
EntityHome.
@Name("personHome")
  | public class PersonHome extends EntityHome<Person>  {
  | 
  |     private static final long serialVersionUID = 219059304048820709L;
  | 
  |         public void setPersonId(Long id)
  |         {
  |                 setId(id);
  |         }
  | 
  |         public Long getPersonId()
  |         {
  |                 return (Long) getId();
  |         }
  | 
  |         @Override
  |         protected Person createInstance()
  |         {
  |               Person person = new Person();
  |               return person;
  |          }
  | }
  | 


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

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

Reply via email to