filter
Add Hibernate Capabilities
数据库表:
user:id ,username,password
profile:id,email,phone,mobil,address,postcode...;
}
public void setPostcode(String postcode) {
this.postcode = postcode;
}
}
User.hbm.xml
代码:
<one-to-one name...as postcode0_2_,
user1_.id as id1_0_,
user1_.username as username1_0_,
user1...as postcode0_2_,
user1_.id as id1_0_,
user1_.username as username1_0_,
user1