-->
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.  [ 3 posts ] 
Author Message
 Post subject: please help!
PostPosted: Sat Mar 18, 2006 1:29 am 
Newbie

Joined: Sat Mar 18, 2006 1:27 am
Posts: 15
what kinda error is this?

Code:
net.sf.hibernate.PropertyAccessException: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of net.kanamic.admin.persistence.Serviceoffice.setContractFlag1



Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 18, 2006 2:01 am 
Newbie

Joined: Sat Mar 18, 2006 1:13 am
Posts: 10
I've encountered similar errors a few times myself. Generally it's traced to a malformed column entry in one of the mapping files.

You may have to comment out all columns in a variety of files until it works, then turning columsn back on a few at a time. You'll eventually hone in on the problem.

Chances are you've told it to use java.lang.String for a numeric field, or long on a varchar2 field, or something like that.

Best of luck, it's trial&error time.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 18, 2006 2:37 am 
Newbie

Joined: Sat Mar 18, 2006 1:27 am
Posts: 15
jbennett2091 wrote:
I've encountered similar errors a few times myself. Generally it's traced to a malformed column entry in one of the mapping files.

You may have to comment out all columns in a variety of files until it works, then turning columsn back on a few at a time. You'll eventually hone in on the problem.

Chances are you've told it to use java.lang.String for a numeric field, or long on a varchar2 field, or something like that.

Best of luck, it's trial&error time.



thanks a lot. this is really annoying. i guess i have oracle9i set to be number(1,0) and i try to update integer data. it shouldnt give me any error like this. its tard!!! im still getting this message. hehe


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.