I have two projects. In one, we used the tools to generate the annotations (had been using a prior version of Hibernate), and the graph works. In the second one, collection-based mappings don't work, causing these kinds of errors:
applicationContext.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: org.hibernate.MappingException: Could not determine type for: java.util.Set, for columns: [org.hibernate.mapping.Column(medicalConditions)]
Caused by: javax.persistence.PersistenceException: org.hibernate.MappingException: Could not determine type for: java.util.Set, for columns: [org.hibernate.mapping.Column(medicalConditions)]
at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:217)
at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:114)
I just finished upgrading to the latest releases of the whole stack; nothing changed.
Could not determind type for java.util.Set????
|