[jboss-user] [EJB 3.0] - Re: Hibernate specific @Index annotation is ignored
jaikiran
do-not-reply at jboss.com
Tue May 20 08:12:32 EDT 2008
"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#4151982
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151982
More information about the jboss-user
mailing list