added hibernate + entity mapping
Fixed isValidated type.