使用地圖的ID我有兩個休眠實體: @Entity
@Table(name = DBConstants.TABLE_PARTNER)
public class Partner extends XWeedEntity {
private static final long serialVersionUID = 5692151244956513381L;
@Id
@
我有以下類和當我用推土機豆映射到ProductEntity轉換爲Product,反之亦然: public class ProductEntity(){
private String name;
private String description;
private URL site;
}
public class Product(){
private