-->
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.  [ 1 post ] 
Author Message
 Post subject: "HHH000207 Property not found" in error?
PostPosted: Wed Nov 28, 2012 11:24 pm 
Newbie

Joined: Wed Nov 28, 2012 11:15 pm
Posts: 2
Location: San Francisco, CA
Hello, I wanted to reach out here before filing a Jira in case it is my misunderstanding.
I have a pojo where I am interested in using the fields, not the properties for persistence. I have declared my intentions as access=FIELD on the entity and (just for good measure) in "persistence-unit-defaults", too.

However, on startup Hibernate 4.1.8.Final insists (correctly) that no such property exists and whines about it:
Code:
org.hibernate.cfg.annotations.reflection.JPAOverriddenAnnotationReader  HHH000207: Property org.hibernate.jira.Bob._name not found in class but described in <mapping-file/> (possible typo error)


Now it's only a warning on startup, but I believe this is a bug because it should not be looking for a property; it should (and apparently does) check for a field with that name.

Thanks for your time!
-- /v\atthew

p.s. I have a very small test-case demonstrating this, if that would be useful.


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

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.