unless all objects are mapped to the same table, in which case it's optimized to do it 
in one query.
 
hth, m

        -----Original Message----- 
        From: Jakob Braeuchi [mailto:[EMAIL PROTECTED]] 
        Sent: Fri 1/17/2003 8:37 AM 
        To: OJB Users List 
        Cc: 
        Subject: Re: Load an object from an extent
        
        

        hi david,
        
        ojb will do a query for each concrete class-descriptor (table must be
        specified) and present the result in one collection.
        
        hth
        jakob
        
        [EMAIL PROTECTED] wrote:
        
        >If I declare an extent like this:
        >
        ><class-descriptor class="foo.model.specification.file.FieldItem">
        >      <extent-class 
class-ref="foo.model.specification.output.CustomFieldItem"/>
        >      <extent-class 
class-ref="foo.model.specification.output.DomainFieldItem" />
        >      <extent-class class-ref="foo.model.specification.input.InputField" />
        ></class-descriptor>
        >
        >And their are seperate class-descriptors for each sub-class.  When I try to 
load an object that is a "FieldItem", specifying it's OID, how does OJB
        >work?
        >Does it just try each table until it finds a hit?
        >
        >David Corbin
        >
        >
        >
        >This message contains information from Equifax Inc. which may be
        >confidential and privileged.  If you are not an intended recipient, please
        >refrain from any disclosure, copying, distribution or use of this
        >information and note that such actions are prohibited.  If you have
        >received this transmission in error, please notify by e-mail
        >[EMAIL PROTECTED]
        >
        >
        >
        >--
        >To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
        >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
        >
        >
        > 
        >
        
        
        --
        To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
        For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
        
        

<<winmail.dat>>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


Reply via email to