Try creating a interface for your Cabin object to implement.
public interface ICabin {
public int getId();
public void setId(int id);
public String getName();
public void setName();
}
Then have your travel agent return the ICabin rather than the Cabin. I had a similar
problem that the xml mappings.
I dont know if its a bug or not but i found that it 4.0.4ga would not generate the
mappings for any class that had a super class.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964526#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...