[jboss-user] [EJB 3.0] - Re: help composite keys
fhh
do-not-reply at jboss.com
Thu May 3 17:13:57 EDT 2007
anonymous wrote :
| This is Database Theory but what can i do to this in EJB3?
|
This not about database theory nor about EJB 3 but about your data model. I think you should focus first on what you actually want to map.
I assume the follwing is true:
1.) One Route consists of many ports.
2.) One port can be a destionation of many routes.
3.) Port and route are mapped correctly (e.g. have @Id, overriden equals(), hashCode() etc.)
Questions:
1.) Is a port unique on each route? (Can a single port be twice on the iternary of a route?)
2.) What is the distance for? The distance of the total route? Or between two ports?
Regards
Felix
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042998#4042998
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042998
More information about the jboss-user
mailing list