-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate does not create indexes in the database
PostPosted: Wed Oct 20, 2004 10:33 am 
Newbie

Joined: Wed Oct 20, 2004 10:06 am
Posts: 1
I assume I am missing something terribly basic but:

hibernate does not generate indexes on table columns.
Here is an excerpt from the mapping file:
...
<property
name="finished"
type="boolean"
update="true"
insert="true"
access="property"
>
<column
name="is_finished"
index="idx_support_1"
/>
</property>
...
tables and columns are generated but indexes are not. I am using SAP DB dialect. Having studied source code I found out that Table.createIndex() method (which as I understand is supposed to be used to fill in information about indexes in mapping files) is never invoked.

Is that really so?

Regards,

Sergey.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.