]
Petr Polak commented on HHH-1872:
---------------------------------
Maybe another solution would be to allow to "exclude" entity from schema
generation.
Hibernate should handle hbm.auto = update with views
----------------------------------------------------
Key: HHH-1872
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1872
Project: Hibernate Core
Issue Type: Improvement
Components: metamodel
Affects Versions: 3.2.0.cr2
Reporter: Sami Dalouche
Priority: Minor
Let's consider a situation where Hibernate domain objects are mapped to a view.
Everything works fine unless hbm.auto = update. In this case, Hibernate tries to update
the schema, and of course, it fails.
In this case, hibernate should detect that the object is a view, and only check whether
the schema is compatible. It should not try to update the metadata.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: