hibernate find-bugs issues
Merge pull request #1802 from gurbuzali/hibernate-bug-fixes/3.x-master

hibernate find-bugs issues