[
http://issues.apache.org/jira/browse/IBATISNET-50?page=comments#action_64160 ]
Roberto Rabe commented on IBATISNET-50:
---------------------------------------
Yes, search and replace Int (dbType and inline) with Int32.
Still, I get an exception thrown when trying to clone the Connection when the
ScriptRunner tries to just run the first script ("account-init.sql") since the
original Connection hasn't had its connectionString defined yet. See
ScriptRunner lines 140 to 141:
private void ExecuteStatements(DataSource dataSource, ArrayList sqlStatements) {
IDbConnection connection = dataSource.Provider.GetConnection();
connection.ConnectionString = dataSource.ConnectionString;
GetConnection tries to clone a MySql.Data.Connection, but that causes
MySql.Data to throw an exception (I added a comment to Bug #7478 describing
this exception).
I'll commit the new MySql.Data test files (with a change to the ScriptRunner to
parse the MySql scripts for the MySql.Data provider). Still they don't run
because of the connection clone exception!
> Test DataMapper with MySQL Connector/NET provider
> -------------------------------------------------
>
> Key: IBATISNET-50
> URL: http://issues.apache.org/jira/browse/IBATISNET-50
> Project: iBatis for .NET
> Type: Test
> Versions: DataMapper 1.2
> Environment: Current SVN code
> Reporter: Roberto Rabe
> Assignee: Roberto Rabe
>
> Need to test MySQL.Data provider to see if it works with the C# DataMapper.
> See MySQL Connector/NET Bug #7478 for issue:
> http://bugs.mysql.com/bug.php?id=7478
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira