• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

org.hibernate.PropertyAccessException  RSS feed

 
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ...
 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please provide your POJO classes as well.

Regards,
Naresh Waswani
 
indu iyengar
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh ! I posted mapping file again instead of pojo ..
Course pojo ::
 
Waswani Naresh
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please provide RegisterStudent POJO and the code for inserting the object as well.

Regards,
Naresh Waswani
 
Ranch Hand
Posts: 218
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!