add truncate of error messages;
upgrade javax.persistence v1 to v2
check null
Merge pull request #136 from jesuspg/hotfix/4256_column_size

add truncate of error messages;