It will use the default for that table, the same one that would be used
if you had called XPeer.doSelect(Criteria).  A patch to allow the
connection to be specified would be okay.  I prefer to keep this detail
out of the bo's, but its there in save already.

john mcnally

On Tue, 2002-06-04 at 16:48, Subhash wrote:
> Hi,
>    I have a question regarding how this would work.. looking @ the generated
> source code, I dont think that it would work out.. (I have not actually tried
> it, since I screwed up my torque installation, and am working on fixing that.)
> 
>    but this is a use case:
>    List employeeList = EmployeePeer.doSelect(someCriteria,myJDBCConnection) ;
>    foreach employee do {
>       List managerList = employee.getManager() ;<== where does torque get the
> connection for this query?
>    }
> 
>    Should the Object.vm change to accommodate this, (basically add another
> method which does a get${relCol} method that accepts a Connection object?). If
> that is the issue, then I could work on it and submit a patch to u guys.
> 
> TIA, -Subhash.
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 
> --
> 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]>

Reply via email to