Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Object Relational Mapping
Search Coderanch
Advance search
Google search
Register / Login
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
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Object Relational Mapping
PropertyAccessException using spring and hibernate, any clues?
Marcos Maia
Ranch Hand
Posts: 977
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
org.springframework.orm.hibernate3.HibernateSystemException: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of br.com.dataminder.model.Ator.setFilmes; nested exception is org.hibernate.PropertyAccessException: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of br.com.dataminder.model.Ator.setFilmes
My relationship is mapped like this:
/** * @hibernate.set table="filme_ator" cascade="save-update" lazy="false" * @hibernate.collection-key column="ator_id" inverse="true" * @hibernate.collection-many-to-many class="br.com.dataminder.model.Filme" column="id" * @hibernate. * hibernate.cglib.use_reflection_optimizer=false */ public List getFilmes() { return filmes; } /** * @hibernate.set table="filme_ator" lazy="false" * @hibernate.collection-key column="filme_id" * @hibernate.collection-many-to-many class="br.com.dataminder.model.Ator" column="id" */ public List getAtores() { return atores; }
[ March 15, 2006: Message edited by: Marcos Maia ]
[fixed formatting - Paul Sturrock]
[ March 16, 2006: Message edited by: Paul Sturrock ]
You totally ruined the moon. You're gonna hafta pay for that you know. This tiny ad agrees:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
CGLIB Exception
Strange Hibernate exception with CGLIB
Hibernate Error - "exception setting property value with CGLIB"
Association mapping
Trouble in using joins in hibernate
More...