Export to GitHub

mybatisnet - issue #9

Informix.NET Provider configuration doesn't work


Posted on Aug 11, 2010 by Massive Dog

I'm using iBatis DataMapper 1.6.2, iBatis DataAccess 1.9.2 and Informix .NET Provider 2.81 included in Informix Client SDK 2.90.

When I use the configuration existing in providers.config for Informix .NET Provider, an exception is thrown calling the method daoManagerBuilder.Configure(".//Configuracion//iBatis//dao.config").

The exception is an "Object reference not set to an instance of an object" and it is thrown into CreateConnection() method of class DbProvider, in the call (IDbConnection)((ICloneable)_templateConnection).Clone();

I found that IfxConnection is ICloneable, but if the connection is not open a call to Clone() method throws the exception.

Status: New

Labels:
Type-Defect Priority-Low