Creating Indexes on DB with Hibernate @Index Annotation

后端 未结 4 1986
无人共我
无人共我 2020-12-30 01:48

I have annotation-driven hibernate capabilies on my project.

Now I want to create an index over a column. My current column definition is

@NotNull
@C         


        
4条回答
  •  臣服心动
    2020-12-30 02:17

    In Hibernate 3.5.6 using update> the indexes are created. So a proper answer now would be to upgrade. But I'm leaving this answer for those like me that have come across this question.

提交回复
热议问题