代码中出现错误 -
@GenericGenerator(name = "hilo-gen", strategy = "guid")
@CollectionId (columns ={@Column(name = "Address_ID")},type = @Type(type="long"),generator ="guid-gen" )
private Collection<AddressClass> listAddresses = new ArrayList<AddressClass>();
并在编译期间出现此错误
不兼容的类型:org.hibernate.mapping.Column 无法转换为 javax.persistence.Column