java - org.hibernate.PropertyAccessException could not set a field value by reflection set<classname> -
i have following table
@entity @table(name="dim_labels") public class label implements serializable { private static final long serialversionuid = 2449079370105300111l; @id @column(name = "tableid") private int tableid; @column(name = "id") @id @generatedvalue(strategy = generationtype.identity) private long id; } which having composite primary key 1 filed being auto incremented when i'm trying insert record using hibernate i'm getting following error org.hibernate.propertyaccessexception
Comments
Post a Comment