cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@dff.st>
Subject Re: _esql_connection.connection should be public
Date Mon, 12 May 2003 09:14:37 GMT
Enke, Michael wrote:
> Hi group,
> after updating to M1 I found that in Cocoon2EsqlConnection
> the connection variable is private in 2.1 but was public in 2.0.
> 
> I propose to set this field again to public access.

Hm... what about changing getConnection() from protected to public?
...not very happy about this either but...

> I heavily use method calls from inside of xsp pages to methods which need
> a DB connection. I pass the _esql_connection.connection to this methods.
> But with private access this is no longer possible.
> Why this was changed to private?

Because you shouldn't use the ESQL classes directly ;-)

cheers
--
Torsten


Mime
View raw message