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}
);

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk

Reply via email to