I'm using hibernate and using the annotations way of defining the entities and not using xml.
When I'm writing a query, intellij complains about the entities, saying:
ClassName is not mapped
I found this article: Generating Persistence Mappings and it states that there are three ways to do so:
- Hibernate mappings
- Entity beans
- Database schema
but when I right click the module, go hover the Generate Persistence Mapping item I get a submenu with only one choice: Database schma.
Am I missing something with the configuration of the hibernate support maybe?