-->
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: Exception in setting property value
PostPosted: Tue Jan 30, 2007 10:23 am 
Newbie

Joined: Tue Dec 26, 2006 8:07 am
Posts: 4
Hi,
I am getting the following exception when i am trying to delete a record from database.

[code] Error in org.hibernate.PropertyAccessException :
exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of hibernate.vsg.issue.PartyMaster.setTel_home

Divya.






Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:

Mapping documents:

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:

Name and version of the database you are using:

The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:


Problems with Session and transaction handling?

Read this: http://hibernate.org/42.html

_________________
With Regards,
Divya.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 30, 2007 11:08 am 
Regular
Regular

Joined: Mon Jan 22, 2007 10:32 am
Posts: 101
Since no code snippet and mapping is available, I am just making a wild guess.

It could be because of assigning a null to a primitive varaible. You can also set hibernate.cglib.use_reflection_optimizer=false to see more details about the error.

Following links can also prove to be helpful:

http://forum.hibernate.org/viewtopic.php?t=926299
http://forum.hibernate.org/viewtopic.php?t=961966


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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.