This content has been marked as final.
Show 2 replies
-
1. Re: @UniqueConstraint has no Effect in MQSQL
micho Feb 21, 2007 7:34 AM (in response to micho)jboss-4.0.4.GA_1 is used
-
2. Re: @UniqueConstraint has no Effect in MQSQL
micho Feb 21, 2007 8:20 AM (in response to micho)is it possible that the schema update doesn´t work correctly?
I created an new entitybean with uniquconstraint and a unique index was created.
here is my persistence.xmlpersistence> <persistence-unit name="BBCS"> <jta-data-source>java:/MySqlDS</jta-data-source> <properties> <property name="hibernate.hbm2ddl.auto" value="update "/> <!-- value="create-drop"/> --> <property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5Dialect"></property> </properties> </persistence-unit> </persistence>