hibernate如何访问java类的私有字段/方法,例如设置@Id?
Thanks
正如 Crippledsmurf 所说,它使用反射。看反思:打破所有规则 and Hibernate:保留对象的契约.