[Seaside] About DB connections pool
debauxit at yahoo.it
Thu May 25 12:31:28 UTC 2006
On 2006-05-24 19:45:48 +0200 Boris Popov <boris at deepcovelabs.com>
> Create a class variable called 'Default' on PGConnectionsPool, then
> PGConnectionsPool class>>default
> ^Default ifNil: [Default := self new].
> then use "PGConnectionsPool default" every time you need to access it
> anywhere you wish.
ok, but in this way the PGConnectionsPool instance is available from
the whole system.
Is there a way to have it available only from seaside components/apps ?
thanks in advance :)
GPG key: 0xCC0FBF8F
=> E429 A37C 5259 763C 9DEE FC8B 5D61 C796 CC0F BF8F <=
More information about the Seaside