On 3/15/07 9:14 AM, Peter Karman wrote:
> The latest (0.09) CPAN version of this Catalyst plugin now contains support
> for RDBO. You can specify a RDBO class name as the 'dbi_dbh' config param, and
> it will return the dbh like:
> 
>   My::RDBO::Session->new->dbh

Shouldn't that be this instead?

    My::RDBO::Session->new->db->retain_dbh;

Otherwise, the $dbh may be disconnected as soon as it's returned.

-John



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to