Hibernate version:
3.2
Full stack trace of any exception that occurs:
Code:
org.hibernate.PropertyAccessException: Null value was assigned to a property of primitive type setter of com._4d.smart.web.faces.stock.PieceCart.quantiteReserve
Name and version of the database you are using:
Oracle 10g
Hello,
I'm currently using AliasToBeanResultTransformer to map my query to a bean. My criteria query uses the sum aggregation function.
My problem is that the aggregation can be empty and so the sum function return null.
When AliasToBeanResultTransformer try to map the result to my bean, Hibernate throw the PropertyAccessException exception
Any idea to solve my issue?
Thanks in advance,
Nicolas