Hi all,
I am new to hibernate and I am using a top-down approach with hibernate-annotations (I am trying to get hibernate to generate the database schema for me, from my project's classes).
I am trying to persist only one class. I get an exception like this:
org.hibernate.MappingException: Could not determine type for: mater.MaterDisplay, for columns: [org.hibernate.mapping.Column(md)]
MaterDisplay 'md' is an attribute of the class I am persisting. Is there an annotation to exclude attributes from persistence?
Moreover, shouldn't hibernate try to map only the attributes which don't have public getter and setter?
Thanks in advance,
Rui Lopes
|