This content has been marked as final.
Show 1 reply
-
1. Re: @Index and MySQL
salvatore.gerace Jun 4, 2006 1:14 PM (in response to salvatore.gerace)HI,
I use the @Index annotation (org.hibernate.annotations.Index) for create index if I set in persistence.xml:
property name="hibernate.hbm2ddl.auto" value="create-drop"
work!
not work with:
property name="hibernate.hbm2ddl.auto" value="update"
This is a bug? Exists a solution?
Configuration:
jboss 4.0.4.GA, MySQL 5.0.18.