This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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



 
Don't get me started about those stupid light bulbs.
 
subject: org.hibernate.PropertyAccessException: IllegalArgumentException occurred while calling setter
 
Similar Threads
Mapping a oracle boolean to Java boolean data type in hibernate
problem with hibernate
org.hibernate.MappingException: No Dialect mapping for JDBC type: -9
1:M lost getting lists
null value to an integer attribute