This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes org.hibernate.PropertyAccessException: IllegalArgumentException occurred while calling setter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "org.hibernate.PropertyAccessException: IllegalArgumentException occurred while calling setter" Watch "org.hibernate.PropertyAccessException: IllegalArgumentException occurred while calling setter" New topic
Author

org.hibernate.PropertyAccessException: IllegalArgumentException occurred while calling setter

Dave Alvarado
Ranch Hand

Joined: Jul 02, 2008
Posts: 436
Hi,

I'm using Hibernate 3.3.2.GA. I have a model with this field ...



In our Oracle 10g database, the column in question is of type NUMBER(10, 0). But when I try and map this field



I get the below error. Should we be using some other Java datatype besides Integer? Thanks, - Dave



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: org.hibernate.PropertyAccessException: IllegalArgumentException occurred while calling setter
 
It's not a secret anymore!