[Opensource] DB contexts and ControllerRequest.getDBName() - proposed change

Mike Traum mtraum at cirnetwork.org
Fri Oct 4 16:26:02 PDT 2002


Right now, it seems that the db context is driven by the request object and
the only way to override that is by programmatically changing that. But,
there is the handy constructor Schema.addDBObject(String class, String
dbName). It seems right now that setting the dbName for a DBOject using this
constructor does nothing.

I believe that if ControllerRequest.getDBName() were changed (pretty much a
one-liner) to first check this (before the request object), then this
functionality would be added to expresso. A benefit off the bat would be
that DBMaint could work with DBObjects outside of "default", which it does
not right now - unless I am missing something big.

Thoughts?

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.jcorporate.com/pipermail/opensource/attachments/20021004/39fcb516/attachment-0002.htm


More information about the Opensource mailing list