On Tue, May 06, 2008 at 05:01:28PM -0400, Jorge Vargas wrote: > 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?
SQLObject is awesome. Yes the level of abstraction is all anyone could ask for. Everyone in the TurboGears/SQLObject community is so talented I knew I'd learn something from asking a possibly dumb question. My apologies if I annoyed anyone. 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