Re: [SQLObject] Manage objects in different databases under the same program instance

2010-02-06 Thread Oleg Broytman
On Sat, Feb 06, 2010 at 10:43:43AM -0300, Juan Manuel wrote: > Can the .select() or .selectBy() methods take the connection to use as a > parameter (even if I pass it a normal connection object, and not one > obtained from a transaction? If that's true then all is well :) Yes. I have already sa

Re: [SQLObject] Manage objects in different databases under the same program instance

2010-02-06 Thread Juan Manuel
On Sat, Feb 6, 2010 at 9:49 AM, Petr Jakeš wrote: > > > hmm... what about: > > http://www.sqlobject.org/SQLObject.html#sqlobject-class > http://www.sqlobject.org/SQLObject.html#transactions > http://www.sqlobject.org/SQLObject.html#dynamic-classes > > To be honest, I do not have experiences with

Re: [SQLObject] Manage objects in different databases under the same program instance

2010-02-06 Thread Petr Jakeš
> > As an example: currently when you scan a directory, there are two treeviews > which are populated: the left one with the entire directory structure (only > dirs), and the right one with the contents of the currently selected dir > (much like windows explorer). If you scan another dir, the treev

Re: [SQLObject] Manage objects in different databases under the same program instance

2010-02-06 Thread Juan Manuel
On Sat, Feb 6, 2010 at 7:56 AM, Petr Jakeš wrote: > > > > I don't think that serves the purpose. The program is supposed to let the > user > > scan whatever structure he/she wants, and this way i'm limiting that, and > it > > is also not scalable. > > > > Thanks anyway > > > > Than I do not under

Re: [SQLObject] Manage objects in different databases under the same program instance

2010-02-06 Thread Petr Jakeš
> > I don't think that serves the purpose. The program is supposed to let the user > scan whatever structure he/she wants, and this way i'm limiting that, and it > is also not scalable. > > Thanks anyway > Than I do not understand your needs. Maybe some simple example or explanation??? --

Re: [SQLObject] Manage objects in different databases under the same program instance

2010-02-06 Thread Juan Manuel Santos
On Saturday 06 February 2010 06:54:31 Petr Jakeš wrote: > > In order to create the DB objects inside the approppriate DB, AFAIK I can > > pass a connection parameter in the class creation, and all will be fine. > > But how do I go about doing selects and obtaining results from a specific > > DB? I

Re: [SQLObject] Manage objects in different databases under the same program instance

2010-02-06 Thread Petr Jakeš
> In order to create the DB objects inside the approppriate DB, AFAIK I can pass > a connection parameter in the class creation, and all will be fine. But how do > I go about doing selects and obtaining results from a specific DB? I may have > two DBs open, and each with its file & dir structure in