-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: CGLIB error-PropertyAccessException
PostPosted: Fri Feb 25, 2005 2:54 am 
Newbie

Joined: Fri Feb 25, 2005 2:49 am
Posts: 3
I am working on a web based application in which i have been using Spring with
Hibernate. While updating one of my tables, i take such a CGLib error.
Do you recognize such an error message?
Note: I have a foreign key in this table and i provide a reference to parent
class for this foreign key in my pojo.

javax.servlet.ServletException: exception setting property value with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for more info) getter of
gui.model.hibernate.AarPrefixTable.?; nested exception is
net.sf.hibernate.PropertyAccessException: exception setting property value with
CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) getter
of gui.model.hibernate.AarPrefixTable.?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 25, 2005 4:35 am 
Expert
Expert

Joined: Sat Oct 25, 2003 8:49 am
Posts: 490
Location: Vrhnika, Slovenia
You probably have primitive type of property, but in the database it has value NULL. So what should the value be then?
Change property to object wrapper.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.