-->
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.  [ 5 posts ] 
Author Message
 Post subject: middlgen hibernate plug-in support for assosiations?
PostPosted: Sun Aug 31, 2003 5:40 am 
Newbie

Joined: Thu Aug 28, 2003 7:14 am
Posts: 18
Is it correct that currently there is no support for any kind of associations/relations? When it is planned to be?


thanks.

Michael.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 31, 2003 6:09 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
huh?

Middlegen plugin certainly supports associations!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 31, 2003 6:35 am 
Newbie

Joined: Thu Aug 28, 2003 7:14 am
Posts: 18
OK, sorry I hurt you feelings :), though It is not obvious I look at UI I see no way not communicate association into it, I look at hibernate task I don't see either(or more precisely can't find any docs for the options).

Can you give me a hint?

Thanks.

Michael.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 31, 2003 7:00 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
oper2000 wrote:
OK, sorry I hurt you feelings :), though It is not obvious I look at UI I see no way not communicate association into it, I look at hibernate task I don't see either(or more precisely can't find any docs for the options).

Can you give me a hint?

Thanks.

Michael.


Remember that the associations should either be defined in the database through constraints - or they should be specified via the middlegen task as documented in middlegen's own doc.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 31, 2003 10:34 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Normal approach is to use constraints (which is good practice). Middlegen will allow you to then fine tune the associations from there. For example, in the GUI use the mouse and click on the association line between the tables. Hold down the control key and a different change can occur.

It is in the documentation for Middlegen.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 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.