-->
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: relations with attributes in hibernate?? (fuzzy relations)
PostPosted: Tue May 11, 2004 3:36 pm 
Beginner
Beginner

Joined: Fri Jan 16, 2004 3:22 pm
Posts: 26
Hello everybody,

i need to model a qualified relation between objetcs.

Say there exist classes A and B, and a fuzzy relation between those, say the 'is like' relation, so it will be an intermediate table to persist the values...

tables:

A 'is like' B
----- ------------ --------
4,'a' 4, 1, 0.3 1, 'b'

is there a way to model this with hibernate in a way to use something like this:

a.getBAbove(0.7) ; //which returns a collection of Bs with degree > 0.7

i mean, i wouldn't like to declare a class named AIsLikeB to access those values.

i hope i explain myself clear, i would deeply appreciate any help.

regards Gerardo


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.