how to make database field for password in hibernate
For user registrat开发者_C百科ion i have two fields password and confirm password.
And in spring i have to bind with java bean.
I am confused how can I make database field.
Simply take one field with String
type in DB and two in bound model.
In your registration service or validation check for both.
精彩评论