"kazan77777" wrote : | However, I am getting this stacktrace: | [BasicPropertyAccessor] IllegalArgumentException in class: com.xxxxx.persistence.Test, setter method of property: Id | [BasicPropertyAccessor] expected type: java.lang.Integer, actual value: java.lang.Integer | [STDOUT] org.hibernate.PropertyAccessException: IllegalArgumentException occurred while calling setter of com.xxx.persistence.Test.Id
That looks like a class path issue. Usually when you get an error like "expected type: java.lang.Integer, actual value: java.lang.Integer" it suggests that you have somehow managed to load two instances of the Integer.class with two different class loaders. You can easily see if this is the case via the Jmx console. Follow the link named "name=Default,service=LoaderRepository" near the top and invoke the "java.lang.String displayClassInfo()" operation with java.lang.Integer as the parameter. It should tell you if you have two copies of Integer loaded (if I remember correctly) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903425#3903425 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903425 ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
