getting a PropertyAccessException?
org.hibernate.PropertyAccessException: Null value was assigned to a property of
primitive type setter of XXXXXX
Hibernate internally treats every attribute in VO as OBJECT.
Instead of using primitives directly use the respective wrapper class objects.
example:
instead of using
private int versionNo;
in your VO, use
private java.lang.Integer versionNo;
About this entry
You’re currently reading “getting a PropertyAccessException?,” an entry on Quality Obsessed
- Published:
- 05.27.08 / 11am
- Rate article:
Printer Friendly

No comments
Jump to comment form | comments rss [?] | trackback uri [?]