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
Win a copy of
Cloud Application Architecture Patterns: Designing, Building, and Modernizing for the Cloud
this week in the
Cloud/Virtualization
forum!
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
Tim Cooke
paul wheaton
Paul Clapham
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Saloon Keepers:
Tim Holloway
Carey Brown
Roland Mueller
Piet Souris
Bartenders:
Forum:
Object Relational Mapping
PropertyAccessException using spring and hibernate, any clues?
Marcos Maia
Ranch Hand
Posts: 977
posted 19 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 ]
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...