You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-cs@ibatis.apache.org by David Stuart <da...@gate121.com> on 2006/01/16 05:25:44 UTC

MySqlClient.MySqlParameter.get_DbType returns null

As a follow up to the issue on the thread below regarding the byteFX
connector returning specified method not supported errors in certain setups.
I tried to change the connector to the mysql ab 1.0.7 version. Unforunately
it to also created an error.....
 
Object reference not set to an instance of an object.
 
StackTrace     "   at MySql.Data.MySqlClient.MySqlParameter.get_DbType()\r\n
at
IBatisNet.DataMapper.MappedStatements.MappedStatement.ApplyParameterMap(IDal
Session session, IDbCommand command, RequestScope request, Object
parameterObject)\r\n   at
IBatisNet.DataMapper.MappedStatements.MappedStatement.CreatePreparedCommand(
RequestScope request, IDalSession session, Object parameterObject)\r\n   at
IBatisNet.DataMapper.MappedStatements.MappedStatement.RunQueryForList(Reques
tScope request, IDalSession session, Object parameterObject, Int32
skipResults, Int32 maxResults, RowDelegate rowDelegate)\r\n   at
IBatisNet.DataMapper.MappedStatements.MappedStatement.ExecuteQueryForList(ID
alSession session, Object parameterObject, Int32 skipResults, Int32
maxResults)\r\n   at
IBatisNet.DataMapper.MappedStatements.PaginatedList.GetList(Int32 index,
Int32 localPageSize)\r\n   at
IBatisNet.DataMapper.MappedStatements.PaginatedList.PageTo(Int32 index)\r\n
at
IBatisNet.DataMapper.MappedStatements.PaginatedList..ctor(IMappedStatement
mappedStatement, Object parameterObject, Int32 pageSize)\r\n   at
IBatisNet.DataMapper.SqlMapper.QueryForPaginatedList(String statementName,
Object parameterObject, Int32 pageSize)\r\n   at
NLogic.Brewtopia.Persistence.MapperDao.BaseSqlMapDao.ExecuteQueryForPaginate
dList(String statementName, Object parameterObject, Int32 pageSize) in
C:\\Projects\\Brewtopia\\NLogic.Brewtopia.Persistence\\MapperDao\\BaseSqlMap
Dao.cs:line 79"     string 
 
 
Cheers,
David Stuart