Hi,

I'm looking for an OR mapping tool and went on this project.
I'm didn't have time to have a deep look at the architecture of the Castor
API but I wonder about something.

We are working on settings that hold a "function", a collection of points.
In our relational tables:
- a setting is a row in SETTING_TAB
- each point is a row in FUNCTION_TAB
hence, when we want the function o a specific setting (PK-FK relationship),
we query the table over a certain key and get back a cursor on all the rows
composing the function.

>From what we saw playing a little bit with Castor, it seems that, once we
had the appropriate setting, retrieving the function would lead to access
the points collection with one database access per point retrieval (based on
a reference). Is that correct? When you have a one-to-many relationship, is
there only one database access that retrieves the whole collection?

cheers,
have a nice day
Loic

 -----------------------------
  Groupe: SL/MR
  office: 864 2-c03

  Organisation Europ�enne
  pour la Recherche Nucl�aire
  F - 01631 CERN Cedex
  FRANCE

  mail : loic.l'[EMAIL PROTECTED]
  tel  : +41 (22) 767 5776
  fax  : +41 (22) 767 9185
 ------------------------------

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to