Author: rgrabowski
Date: Mon Oct 31 21:27:01 2005
New Revision: 329979
URL: http://svn.apache.org/viewcvs?rev=329979&view=rev
Log:
Replaced \n with Environment.NewLine
Modified:
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultMap.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeHandlerDeSerializer.cs
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs
Modified:
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultMap.cs
URL:
http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultMap.cs?rev=329979&r1=329978&r2=329979&view=diff
==============================================================================
---
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultMap.cs
(original)
+++
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultMap.cs
Mon Oct 31 21:27:01 2005
@@ -207,7 +207,7 @@
catch(Exception e)
{
throw new ConfigurationException(
- string.Format("Could not configure
ResultMap. ResultMap named \"{0}\" not found, failed. \n Cause: {1}", _id,
e.Message)
+ string.Format("Could not configure
ResultMap. ResultMap named \"{0}\" not found, failed. {1} Cause: {2}", _id,
Environment.NewLine, e.Message)
);
}
}
Modified:
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeHandlerDeSerializer.cs
URL:
http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeHandlerDeSerializer.cs?rev=329979&r1=329978&r2=329979&view=diff
==============================================================================
---
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeHandlerDeSerializer.cs
(original)
+++
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeHandlerDeSerializer.cs
Mon Oct 31 21:27:01 2005
@@ -78,6 +78,7 @@
throw new ConfigurationException("The callBack
type is not a valid implementation of ITypeHandler or ITypeHandlerCallback");
}
+ //
configScope.ErrorContext.MoreInfo = "Check the type
attribute '" + handler.ClassName + "' (must be a class name) or the dbType '" +
handler.DbType + "' (must be a DbType type name).";
if (handler.DbType!= null && handler.DbType.Length > 0)
{
Modified:
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs
URL:
http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs?rev=329979&r1=329978&r2=329979&view=diff
==============================================================================
---
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs
(original)
+++
ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs
Mon Oct 31 21:27:01 2005
@@ -1061,7 +1061,8 @@
public override string ToString()
{
StringBuilder buffer = new StringBuilder();
- buffer.Append("\tMappedStatement: " + this.Name + "\n");
+ buffer.Append("\tMappedStatement: " + this.Name);
+ buffer.Append(Environment.NewLine);
if (_statement.ParameterMap != null)
buffer.Append(_statement.ParameterMap.Id);
if (_statement.ResultMap != null)
buffer.Append(_statement.ResultMap.Id);