As far as I know mixing the location of annotations within one class is not supported.
Either put them on the fields or on the getters, but not one here and one there.
But I doubt that you get a char 255 column for an integer property.
hi thanks. the issue was resolved. it was my mistake
1. I used some annotation at the getters and some at the fields [the annotations were generated/placed by myeclipse ide]
2. Also, having a field length of 255 for integer is not correct, it should be string
thanks a lot,