This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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



 
Have you checked out Aspose?
 
subject: org.hibernate.PropertyAccessException: IllegalArgumentException occurred while calling setter
 
It's not a secret anymore!