Spring的annotation用在set方法上 hibernate的annotation用get方法上 1.Spring的annotation用在set方法上 2.hibernate的annotation用在get方法上