[CDBI] Class::DBI vs DBIx::Class

Simon Wilcox simonw at digitalcraftsmen.net
Tue Jan 17 19:16:07 GMT 2006


On Tue, 17 Jan 2006, Matt S Trout wrote:

> On Tue, Jan 17, 2006 at 01:44:08PM -0500, Perrin Harkins wrote:
> > Why wouldn't you want to use prepare_cached?
>
> (1) dodgy DBD (DBD::AnyData, I hate you so much ...)
>
> (2) because the way Ima::DBI uses it, it'll recycle a live sth you'd hung onto
>     because you weren't finished fetching data from it, thus screwing your app
>     up quite spectactularly. It only works for CDBI because CDBI fetches all
>     the data from the sth straight off and throws it away.

Isn't that a bug in Ima::DBI that should be reported via rt.cpan.org [1] ?

It does seem that Tony is listening to and actioning reports filed via RT
so I don't think it would be wasted effort.

Simon Wilcox
[1] http://rt.cpan.org/Public/Dist/Display.html?Name=Ima-DBI

-- 
Digital Craftsmen Ltd
213 Coppergate House, 16 Brune Street, London. E1 7NJ
t 020 7953 7768 f 020 7953 7709 m 07951 758698
w http://www.digitalcraftsmen.net/




More information about the ClassDBI mailing list