On Tue, May 6, 2008 at 2:37 PM, <[EMAIL PROTECTED]> wrote: > Why does my TurboGears/SQLObject app need an explicit connection to database > to > be exposed? > > I'm thinking of the following line which *MUST* appear.... > > __connection__ = turbogears.database.PackageHub("myapp") > > Isn't a goal for ORMs to hide all this database connection stuff? no the goal of ORM is to provide an Object frontend to the Relational backend. This request is unacceptable. you may need different connections to different dbs. the abstraction is already a lot did you read the PackageHub code?
Please don't try to make the tool fit your needs and ignore everyone else's. This discussion already ended in the TG list. > > Chris > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > sqlobject-discuss mailing list > sqlobject-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss