I am getting \" org.hibernate.PropertyAccessException\" due to null values in my database table. How to handle the exception?
My files are
FetchTest.java
The best way to avoid Hibernate's attempts at setting null values to primitives is to use Wrapper classes (Integer, Long, Double...); and especially, if you need to tack on a column or 2 to an existing table. Auto-boxing is your friend.