Regular |
|
Joined: Thu Aug 28, 2003 10:54 am Posts: 67
|
I am trying to map some classes to views which do not have any primary key columns. This makes reporting easier. However, eventhough the documentation says that if you leave out the name attribute of the id tag if the class has no identifier property I still get an SQLGrammarException warning about an invalid column name 'id'
This is with hibernate 3. Also the docs say that the type attribute is optional onthe id tag but when i leave it out I get
org.hibernate.MappingException: must specify an identifier type
Any comments?
|
|