Hi,
I'm building an application which uses UTF8 everywhere. Unfortunately
DBD::mysql doesn't mark UTF8 strings that are loaded from the database
as Unicode scalars in perl. I found in a patch for DBD::mysql but I
don't want to introduce such ugly dependency.
Luckyly I'm using Rose::DB::Object to
On 12/18/05 4:16 AM, Svilen Ivanov wrote:
> After reading the extensive documentation of R:D:O classes I added
> trigger on the columns that store chars/varchars/texts like that:
>
> # the column 'name' is varchar
> __PACKAGE__->meta->column('name')->add_trigger(
>inflate => sub {
> my $
2005/12/18, John Siracusa wrote:
[..snip..]
> > An alternative approach is to define new layer of classes on top of
> > for e.g. R:D:O::Metadata::Column::Varchar/Char/Text where to perform
> > the UTF decoding and then to change the type-to-class mapping in
> > R:D:O::Metadata. All my derived class
On 12/18/05 1:53 PM, Svilen Ivanov wrote:
> 2005/12/18, John Siracusa wrote:
> [..snip..]
>>> An alternative approach is to define new layer of classes on top of
>>> for e.g. R:D:O::Metadata::Column::Varchar/Char/Text where to perform
>>> the UTF decoding and then to change the type-to-class mappin
2005/12/18, John Siracusa wrote:
[..snip..]
> > However it is mastery to me why both automations don't work using
> > auto_initalize in my R:D:O object? It works fine when I manually
> > specify the columns/keys/relations (or copy/pasting the output of
> > perl_class_definition in the module). Any
On Mon, 2005-12-19 at 00:09 -0500, John Siracusa wrote:
> Is anyone interested in adding Tangram to the Perl ORM test suite that's
> part of the Rose::DB::Object distribution? See this page (and associated
> links in it) for information on the test suite and some recent results:
>
> http://rose.s