Hello to everybody,
I'm just trying to map a MySql - View with hibernate. It works fine, but there is still a little problem I would like to have fixed.
The hbm2ddl.auto is set to 'update'. So hibernate wants to create the table (view) on server-startup and it brings out the following error messages in catalina.out:
ERROR 2009-01-13 16:47:54,765 [main] org.hibernate.tool.hbm2ddl.SchemaUpdate - Unsuccessful: create table V_EXAMPLE(...) type=InnoDB
ERROR 2009-01-13 16:47:54,765 [main] org.hibernate.tool.hbm2ddl.SchemaUpdate - Table 'V_EXAMPLE' already exists
Is there any possibility to map a entity-class with a DB-view without ddl?
p.s: I need the hbm2ddl for the other entity-classes =)
Regards
dusty
|