Hello,
I believe this to be a bug but wanted to ask before filing a Jira.
Given this representative class:
Code:
public class Bob { private Long _id; private java.util.Set<Integer> _extra; }
I have declared the entity metadata-complete="true" and have only specified that the Long should be mapped; I did not specify anything about "_extra" nor do I want it managed by JPA. However, it appears that Hibernate 4.1.8.Final is being "helpful" and scanning all the fields on my class and creating org.hibernate.mapping.Column configurations for them.
Since it correctly could not find any mapping for the Set field, it explodes with the following exception:
Code:
org.hibernate.MappingException: Could not determine type for: java.util.Set, at table: BOB, for columns: [org.hibernate.mapping.Column(_extra)]
I believe this to be an error, but I freely admit that I have not studied all 400 pages of the JPA spec.
Thanks for your time!
-- /v\atthew
p.s. I have a very small example if that would be helpful.