That is, a big and great piece of software :-) I have just one question on
JBOSS and JAWS O->R capabilities.

For a given type (class), is it possible to specify which fields should be
mapped to its own table?  The fields that need to be mapped to its own table
are what I call "searchable" fields.  Ie. A person with a bunch of
addresses. Or a bunch of people living at a number of addresses.

[Person] <>----> [Address] // Plain JAVA types.
[PersonBean] <>----> [Person] // EJB and plain JAVA types.

Suppose I would like to find all the people (Persons) living at a given
address or addresses, how would that be supported with JBOSS and JAWS?

Is it possible to specify that Person should be mapped to the Table Person
and Address should be mapped to the Table Address?

If the customized mapping could be done, I figure that a finder method such
as this would be quite handy and convenient:

List findBySql(String aSqlQueryExpr);
aSqlQueryExpr = "where Address.street=LaJollaVillageDrive &
Address.city=SanDiego"

Now, JBOSS and JAWS should be able to prepend the "select * from ..." part,
execute the query and return a list of remote interfaces to the PersonBean
ejb.

And if I never needed to find all the people who live at a certain address,
then I could choose to have Address be serialized and stuffed into one
single column.

The reason I would like to see customized mapping like above is because
there are a bunch of data mining tools out there for RDMBSes. As long as one
understands how an type/class is decomposed into tables, one can always mine
the data with existing relational tools, if needs be.

Anh

______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to