blazeds 传递对象实例
我后台传过来一个
package net.carefx.cp.persistence.domain;@Entity@Table (name = "CP_ITEM", schema = "dbo", catalog = "FusionCP")public class Item extends BaseDomain implements Serializable{。。。 @OneToMany (mappedBy = "item", cascade = CascadeType.ALL, fetch = FetchType.EAGER) public Set <ItemMapping> getItemMappings () { return itemMappings; } public void setItemMappings (Set <ItemMapping> itemMappings) { this.itemMappings = itemMappings; }}package net.carefx.cp.persistence.domain;@Entity@Table (name = "CP_ITEM_MAPPING", schema = "dbo", catalog = "FusionCP")public class ItemMapping extends BaseDomain implements Serializable{。。。 @OneToMany (mappedBy = "itemMapping", fetch = FetchType.EAGER, cascade = CascadeType.ALL) public Set <ItemMappingProps> getItemMappingPropss () { return itemMappingPropss; } public void setItemMappingPropss (Set <ItemMappingProps> itemMappingPropss) { this.itemMappingPropss = itemMappingPropss; }}package net.carefx.cp.persistence.domain;@Entity@Table (name = "CP_ITEM_MAPPING_PROPS", schema = "dbo", catalog = "FusionCP")public class ItemMappingProps extends BaseDomain implements Serializable{。。。}