Hibernate mapping SQL View -
2012-06-13 18:09:47,777 error [main] schemaupdate - unsuccessful: alter table *************.******** add index fkbca22c66af04751f(xxxxxxx, zzzzzz), add constraint fkbca22c66af04751f foreign key (xxxxxxxx, zzzzzzz) references ***********.************* (categoria_id, azienda_id) 2012-06-13 18:09:47,779 error [main] schemaupdate - '************.********' not base table
i've view in schema, don't understand correctly how mapping hibernate on project
based log seems case try update definition of database view via schemaupdate. not want do.
how avoid depends how configured hibernate. if via hibernate.cfg.xml, should remove following (or change update validate):
<property name="hbm2ddl.auto">update</property>
Comments
Post a Comment