Joined: Mon Sep 13, 2010 2:51 am Posts: 2
|
Hi I want to create index for my table in SQL SERVER. When I used <prop key="hibernate.hbm2ddl.auto">create</prop> or <prop key="hibernate.hbm2ddl.auto">create-drop</prop> Hibernate created my index, but I used <prop key="hibernate.hbm2ddl.auto">update</prop> my index not create in my column. For example: <property name="name" type="java.lang.String"> <column name="Name" sql-type="nvarchar(255)" unique="true" not-null="true" index="NAME_INDEX"/> </property> My database is exist and I went to update columns for create index. Why my index doesn’t update? tanks.
|
|