Well, the persistent storage doesn't have to be a relational database: for instance it could be an object database such as Versant. It also might be something like SAP, or an xml database. So relationships can't really be specified by the spec, and you can't rely on any particular representation if you want your app to be completely portable.
david jencks On 2002.08.21 20:27:13 -0400 Danilo Luiz Rheinheimer wrote: > Hello, > > On another mail Dain Sundstrom says the spec does not say anything > about mapping of CMR to database tables. > I need on my application the kind of feature of the JBoss DynamicQL. > But I will not want use it because I do not want use features > proprietary features, I want my application portable. > But I need to be able to create sql querys at run time. > My question is all applications server did the mapping of > relationships on the same way ? If I have a relationship Order to > OrderItens (1 - N) in all applications server this will be mapped as a > Integer field called Order in the table OrderItem ? > If this happen I can do a "select * from Order, OrderItem where > Order.Id=OrderItem.Id" and this will work on all applications servers. > I think the way JBoss maps the relationships is very logic and > clear. And Dain is not responsible by the implementations of other > application severs. > But what you know about that ? Is a good idea make select this way ? > > -- > Best regards, > Danilo mailto:[EMAIL PROTECTED] > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user