-->
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: Property Access Excepcion
PostPosted: Fri Jan 18, 2008 6:31 am 
Newbie

Joined: Tue Dec 04, 2007 10:20 am
Posts: 13
Hi everyone:

I'm trying to change the id of the tables of the databases, and for that I've changed the value type on the mapping files from int to long. Everything seems to go fine, until I try to load the application, then I get the next error message:

Caused by: org.hibernate.PropertyAccessException: could not set a field value by reflection setter of domain.objects.appuser.id

Does anyone know what could be the problem?

Thank you very much


Top
 Profile  
 
 Post subject: Re: Property Access Excepcion
PostPosted: Fri Jan 18, 2008 9:15 am 
Expert
Expert

Joined: Wed Apr 11, 2007 11:39 am
Posts: 735
Location: Montreal, QC
Most likely the setter method is throwing exception. Go down the stack trace and see what the original exception is.



Farzad-


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.