Re: [Dbix-class] DBIx::Class::Storage::DBI::NoBindVars failing on custom data types

2009-06-18 Thread Peter Rabbitson
Robert Heinzmann wrote: > Hello, > > we use DBIx::Class on Sybase and have custom types (based on Numeric) on > Sybase. > > The Standard DBIx::Class::Storage::DBI::Sybase uses > DBIx::Class::Storage::DBI::NoBindVars because auf the "poor quote > support" for DBI. > > However when trying to is

Re: [Dbix-class] Per column filter

2009-06-18 Thread Daniel Ruoso
Em Qui, 2009-06-18 às 13:18 +0100, Pedro Melo escreveu: > I'm wrapping DBIx::Class over a legacy database that uses the > iso-8859-1 charset internally. My app expects all perl strings as utf8. I think you could consider changing the encoding of the DB connection, before trying to do that as inf

[Dbix-class] DBIx::Class::Storage::DBI::NoBindVars failing on custom data types

2009-06-18 Thread Robert Heinzmann
Hello, we use DBIx::Class on Sybase and have custom types (based on Numeric) on Sybase. The Standard DBIx::Class::Storage::DBI::Sybase uses DBIx::Class::Storage::DBI::NoBindVars because auf the "poor quote support" for DBI. However when trying to issue numeric queries, an integer value is quo

Re: [Dbix-class] Per column filter

2009-06-18 Thread Moritz Onken
Am 18.06.2009 um 14:18 schrieb Pedro Melo: Hi, I'm wrapping DBIx::Class over a legacy database that uses the iso-8859-1 charset internally. My app expects all perl strings as utf8. I'm trying to write an extension to DBIC that decodes the value from the DB into utf8, and does the rever

[Dbix-class] Per column filter

2009-06-18 Thread Pedro Melo
Hi, I'm wrapping DBIx::Class over a legacy database that uses the iso-8859-1 charset internally. My app expects all perl strings as utf8. I'm trying to write an extension to DBIC that decodes the value from the DB into utf8, and does the reverse when I insert/update data. At first I tried