-->
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: no property setter ? but it is there !
PostPosted: Thu Nov 09, 2006 5:29 am 
Beginner
Beginner

Joined: Wed Oct 25, 2006 9:05 am
Posts: 40
Location: France, Lieusaint
Hey,

I have the following error making an object persist:

Code:
javax.persistence.PersistenceException: org.hibernate.PropertyNotFoundException: Could not find a setter for property bankId in class com.presseinfo.netful.model.bank.Bank
Caused by: javax.persistence.PersistenceException: org.hibernate.PropertyNotFoundException: Could not find a setter for property bankId in class com.presseinfo.netful.model.bank.Bank


But my class Bank HAS a setter for property bankId.

So I wondered if there is a sort of generated cache in hibernate, because I dont see any other Bank class with no setter.

thx


Top
 Profile  
 
 Post subject: POST CANCELED
PostPosted: Thu Nov 09, 2006 6:25 am 
Beginner
Beginner

Joined: Wed Oct 25, 2006 9:05 am
Posts: 40
Location: France, Lieusaint
CAUSE: old library containing Bank class already here


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.