On 4/13/06, Peter Speltz <[EMAIL PROTECTED]> wrote:
> funny , I just ran accross this piece of code today and thought to
> myself, "Thats a good comment" :)
>
> __PACKAGE__->connection("dbi:mysql:database=$db;host=$host", $usr,
> $pw,        {FetchHashKeyName => 'NAME',});
> # NOTE need to specify NAME above  since the old tables use mixed case
> col names.
>
> Try passing the FetchHashKeyName => 'NAME' arg to setup if you use CDBI 
> Loader.
>

Class DBI's defaults :

FetchHashKeyName   => 'NAME_lc',
  ShowErrorStatement => 1,
  ChopBlanks         => 1,
  AutoCommit         => 1,

--
pjs


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Maypole-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-users

Reply via email to