aspose file tools*
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 Spring in Action this week in the Spring 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