-->
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: Problem with DDL creation using hbm2ddl...
PostPosted: Tue May 11, 2004 5:44 am 
Newbie

Joined: Mon Dec 22, 2003 4:23 am
Posts: 11
Hello.
I want to create index for foreign key cloumn at many-to-one, many-to-many association using xdoclet tag in Java Source file.

When I make uni-directional association from parent to child,
It didn't generate DDL what I want and I didn't find proper xdoclet.

But using bi-directional association, I can write xdoclet tag in child.hbm.xml and everything do well.

How can I create DDL what I want(index for foreign key cloumn)
without making bi-association between parent and child object.?


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.