[jboss-user] [EJB 3.0] - Re: @UniqueConstraint has no Effect in MQSQL
micho
do-not-reply at jboss.com
Wed Feb 21 08:20:51 EST 2007
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.xml
persistence>
| <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>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019916#4019916
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019916
More information about the jboss-user
mailing list