From: Michel G. (JIRA) <no...@at...> - 2006-06-16 15:08:35
|
schemaExport does not create column for formula-generated property ------------------------------------------------------------------ Key: HHH-1844 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1844 Project: Hibernate3 Type: Bug Versions: 3.1.3 Environment: Hibernate 3.1.3, Oracle 10g, JDK 1.5.0._06, WinXp Reporter: Michel Gomis When running schemaExport in "create" mode, Hibernate does not create column DEMANDE.numero In "update" mode or without <formula> element, it works fine. <hibernate-mapping> <class name="Demande" table="DEMANDE"> <id name="id"> <generator class="hilo" /> </id> <property name="numero" type="integer" not-null="true" generated="insert"> <formula>SELECT MAX(numero) +1</formula> </property> </class> </hibernate-mapping> -- 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 |