-->
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.  [ 3 posts ] 
Author Message
 Post subject: how to make table index
PostPosted: Mon Sep 05, 2005 9:38 pm 
Newbie

Joined: Mon Sep 05, 2005 9:27 pm
Posts: 2
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Mapping documents:

I made hbm.xml file that is

<id name="keyword" type="string" unsaved-value="0">
<column name="KEYWORD" length="100" not-null="true" index="iSynonym_keyword_index"/>
<generator class="assigned"/>
</id>

cause of making index for KEYWORD column.
but I can't make index that has two attribute for primary key ( super key )
read that below..

<composite-id>
<key-property name="collectionID" type="string" length="100"/>
<key-property name="keyword" type="string" length="100"/>
</composite-id>

I can't write english well, but I guess you will understand the question.

_________________
전 전보검색엔진 개발자 입니다


Top
 Profile  
 
 Post subject: so stupid question
PostPosted: Mon Sep 05, 2005 10:57 pm 
Newbie

Joined: Mon Sep 05, 2005 9:27 pm
Posts: 2
i use oracle dbms.
if primary key is set at ddl statement which table create,
then oracle automatically make field index..
i know that but I am not confident, but i read oracle tutorial, i realize ask stupid question.
may be another table attribute is problem...

_________________
전 전보검색엔진 개발자 입니다


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 07, 2005 10:43 am 
Beginner
Beginner

Joined: Sun Apr 24, 2005 4:25 am
Posts: 28
I have the same problem. The definition/attribute index doesn't build an index on database.


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

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.