| Author |
org.hibernate.PropertyAccessException
|
indu iyengar
Ranch Hand
Joined: Jul 30, 2010
Posts: 115
|
|
Hi all am using a many to many relationship and when I try to save the object , it shows the exception..
my mapping file is :::
course bean is :::
please please, am changing by googling but still getting the exception.. please help me ...
|
thanks ,
Indu
|
 |
Waswani Naresh
Ranch Hand
Joined: May 01, 2008
Posts: 66
|
|
Please provide your POJO classes as well.
Regards,
Naresh Waswani
|
Naresh Waswani
|
 |
indu iyengar
Ranch Hand
Joined: Jul 30, 2010
Posts: 115
|
|
oh ! I posted mapping file again instead of pojo ..
Course pojo ::
|
 |
Waswani Naresh
Ranch Hand
Joined: May 01, 2008
Posts: 66
|
|
Please provide RegisterStudent POJO and the code for inserting the object as well.
Regards,
Naresh Waswani
|
 |
Rishi Shehrawat
Ranch Hand
Joined: Aug 11, 2010
Posts: 218
|
|
Could you also provide complete stack trace.
Interesting thing is that for the courseID field you have specified access="field" in your mapping file, still Hibernate is trying to use getter.
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: org.hibernate.PropertyAccessException
|
|
|