Hi,
I produce POJOs with eclipse hibernate plug-in from my database. But it produces annotations over get* functions like;
@Id @Column(name = "ID_PATIENT_CLASS", unique = true, nullable = false, precision = 10, scale = 0) public long getIdPatientClass() { return this.idPatientClass; }
But I'd like to produce it over properties like;
@Id @Column(name = "ID_PATIENT_CLASS", unique = true, nullable = false, precision = 10, scale = 0) private long idPatientClass;
Is a way ( or a tutorial preferred :) ) to generete annotations over properties ? Thanks for all answers.
|