[Dbix-class] DBIx::Class with ODBC

Peter Rabbitson rabbit+dbic at rabbit.us
Tue Jan 22 17:27:23 GMT 2013


On Tue, Jan 22, 2013 at 09:21:51AM -0800, stephenmoy wrote:
> Hi,
> 
> Has anyone gotten DBIx::Class to work with an Ingres database using an ODBC
> driver?
> 
> I get the following error on a simple search:
> DBIx::Class::ResultSet::search(): DBI Exception: DBD::ODBC::db get_info
> failed: [Ingres][Ingres ODBC Driver]Information type out of range
> (SQL-HY096)
> 
> Class::DBI appears to work fine with the same connection string.

Please connect to the database using plain DBI and give us the
output of:

$dbh->get_info(
  $DBI::Const::GetInfoType::GetInfoType{SQL_DBMS_NAME}
);



More information about the DBIx-Class mailing list