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.