Hibernate should handle hbm.auto = update with views
----------------------------------------------------
Key: HHH-1872
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1872
Project: Hibernate3
Type: Improvement
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:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|