Hashtable « Update « JPA Q&A

1. Trying to persist a Hashtable    forum.hibernate.org

Hi, I'm relatively new to Hibernate, and I'm using (according to the logs) Hibernate 3.5.3-Final with Java 1.6 and annotations 3.2.0.Final. In one class I have a Hashtable property which I wish to persist, but I'm getting the error: Caused by: org.hibernate.AnnotationException: Use of @OneToMany or @ManyToMany targeting an unmapped class: uk.org.glendale.worldgen.civ.facility.Facility.requirementList[java.lang.Integer] The current iteration of the class is: Code: @Entity ...

2. Persist Hashtable    forum.hibernate.org