"Rhodan" wrote :
| Index generation ONLY works when hibernate.hbm2ddl.auto is set to
"create-drop" in any other case the index is NOT created.I'm shure, anybody
understands, that 'create-drop' is not an appropriate value for production
systems.
|
It works with hibernate.hbm2ddl.auto = "create" too.
<properties>
| <property name="hibernate.hbm2ddl.auto" value="create"/>
| </properties>
|
As for why, it doesn't work with "update", see this
http://www.hibernate.org/119.html#A10
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151982#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...