[JBoss-user] [Beginners Corner] - Re: Saving hibernate object throws IllegalArgumentException

2005-07-05 Thread gbrasher
I was able to resolve my problem with the help of the post by kaba in this topic in the hibernate forums: http://forum.hibernate.org/viewtopic.php?t=943266 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883716#3883716 Reply to the post : http://www.jboss.or

[JBoss-user] [Beginners Corner] - Saving hibernate object throws IllegalArgumentException

2005-07-04 Thread gbrasher
I'm attempting to save a hibernate-generated class in a servlet using jboss 4.0.2 and the Java 1.5.0.03 jdk. Can anyone shed light on why the following doPost method fails at (1) below with an IllegalArgumentException exception (ERROR [BasicPropertyAccessor] expected type: java.lang.Long, actual