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

[prev] [thread] [next] [Date index for 2006/01/18]

From: Matt S Trout
Subject: Re: [CDBI] Class::DBI vs DBIx::Class
Date: 01:21 on 18 Jan 2006
On Wed, Jan 18, 2006 at 12:56:15AM +0000, Tim Bunce wrote:
> =item B<3>: The existing active statement handle will be removed from the
> cache and a new statement handle prepared and cached in its place.
> This is the safest option because it doesn't affect the state of the
> old handle, it just removes it from the cache. [Added in DBI 1.40]

Aha. I misread that the last time I looked at the docs. Added to the current
development branch of DBIx::Class - if nobody gets a barf during the RCs it'll
be in 0.05.

> DBI 1.40 was released in January 2004.
> 
> Class::DBI and DBIx::Class (and others) should probably be passing 3
> for the $if_active parameter. Set it and forget it.

Still doesn't help the problem I had, which was a broken DBD. My point was
more that customising this in Class::DBI is a complete pain (we eventually
just shipped customers a patched Ima::DBI) whereas in DBIx::Class you can
just subclass storage, override ->sth and get on with your life. I'm
already aware of a DBIx::Class user making use of this ability to get
round issues with bind parameter support in FreeTDS.

        -- 
             Matt S Trout       Offering custom development, consultancy and support
  Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

 + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +

_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

(message missing)

[CDBI] Class::DBI vs DBIx::Class
David Lloyd 00:29 on 17 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
Matt S Trout 01:18 on 17 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
Tim Bunce 10:04 on 17 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
Tim Bunce 00:15 on 28 Feb 2006

Old announce thread
Matt S Trout 15:29 on 28 Feb 2006

Re: [CDBI] Class::DBI vs DBIx::Class
Brad Bowman 11:07 on 17 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
yoorobot 15:14 on 17 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
Matt S Trout 16:15 on 17 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
Christopher H. Laco 16:10 on 17 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
Perrin Harkins 16:42 on 17 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
Ryan Tate 18:30 on 17 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
Matt S Trout 01:27 on 18 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
Matt S Trout 18:40 on 17 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
Perrin Harkins 18:44 on 17 Jan 2006

RE: [CDBI] Class::DBI vs DBIx::Class
Dmitri Bichko 16:22 on 18 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
John Siracusa 16:43 on 18 Jan 2006

RE: [CDBI] Class::DBI vs DBIx::Class
Dmitri Bichko 17:49 on 18 Jan 2006

RE: [CDBI] Class::DBI vs DBIx::Class
Perrin Harkins 18:03 on 18 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
John Siracusa 18:05 on 18 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
John Siracusa 18:06 on 18 Jan 2006

RE: [CDBI] Class::DBI vs DBIx::Class
Dmitri Bichko 18:20 on 18 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
Matt S Trout 19:00 on 17 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
Simon Wilcox 19:16 on 17 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
Perrin Harkins 20:30 on 17 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
Tim Bunce 00:56 on 18 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
John Siracusa 01:12 on 18 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
Tim Bunce 11:36 on 18 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
John Siracusa 12:37 on 18 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
Matt S Trout 01:21 on 18 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
Tim Bunce 11:37 on 18 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
Tim Bunce 23:43 on 18 Jan 2006

Re: [CDBI] Class::DBI vs DBIx::Class
Ryan Tate 23:57 on 18 Jan 2006

Generated at 20:44 on 01 Mar 2006 by mariachi v0.52