On Wed, Jun 15, 2005 at 10:38:05AM +0200, Wojciech Pietron wrote: > Hello Scott, > > thank you for your help. But are there any workarounds to this problems?
Attributes can be changed. DBD::Proxy tries hard to be as transparent as possible. Some atributes have special handling (see the three %ATTR declarations in DBD::Proxy) but the default behaviour is to simply pass the attribute STORE/FETCH calls to the server. > Is DBD::Proxy under development? It looks like its code hasn't been > changed for dozens of months. And now that I am starting a new project I > have to make a decision whether I can rely on DBD::Proxy. It seems that quite a few people are using, but perhaps their needs aren't quite the same. > I also had problems with setting FetchHashKeyName and I manually changed > the case of column names. [DBD::Proxy was donated to the DBI and has always suffered by having a separate set of tests (t/80proxy.t) which aren't as comprehensive as they should be. I had always planned to make proxy testing work like DBI::PurePerl testing: DBI::PurePerl runs the entire test suite via DBI::PurePerl so any new test is automatically also a run by DBI::PurePerl. Something similar should be possible via the DBI_AUTOPROXY variable. Volunteers welcome, naturally.] > I appreciate any help/links/advices. I've just got round to fixing the problem with FetchHashKeyName. There were a bunch of subtle problems in how attributes were handled. Hopefully it'll also address your LongReadLen and LongTruncOk needs, but I've not explicitly tested that. You can find the fixed version under http://svn.perl.org/modules/dbi/trunk I'd appreciate it if anyone having proxy problems could try it and let me know if it helps. Thanks. Tim. > Thank you, > Wojciech Pietron > > * Scott T. Hildreth <[EMAIL PROTECTED]> [2005-06-15 09:50]: > > Look for earlier threads, basically with DBD::Proxy, the dbh attributes > > cannot be changed once a connect is made(I think). Check the DBD::Proxy > > perldoc for an explanation. > > > > > > On Tue, 2005-06-14 at 17:31 +0200, Wojciech Pietron wrote: > > > perl 5.8 > > > DBI, DBD::Proxy 1.21 > > > DBD::Proxy 1.48 > > > linux RedHat 2.4.21 > > > > > > Hello, > > > > > > I am using DBD::Proxy and it looks like impossible to change default > > > values > > > of LongReadLen and LongTruncOk attributes in DBD::Oracle driver. Despite > > > changing in my code I get the message, that attribute still has its > > > default value. > > > > > > There is no problem to change them when using DBI directly. How can I > > > solve it? > > > > > > Thank you in advance, > > > Wojciech Pietron > > -- > > Scott T. Hildreth <[EMAIL PROTECTED]>
