ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Stuart" <da...@gate121.com>
Subject MySqlClient.MySqlParameter.get_DbType returns null
Date Mon, 16 Jan 2006 04:25:44 GMT
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

Mime
View raw message