I am getting \" org.hibernate.PropertyAccessException\" due to null values in my database table. How to handle the exception?
My files are
FetchTest.java
Your mgr-Property is int, which does not allow null. Change it to Integer, which allows null. Or make a default value for your mgr column.