ibatisnet mysql_已经测试过的数据库驱动for .NET DataMapper (IBatisNet),为什么不支持.net2.0?...

已经测试过的数据库驱动for .NET DataMapper (IBatisNet),为什么不支持.net2.0?

來源:互聯網  2006-05-05 04:58:15  評論

今天在网上看了一下IBatisNet for .net,和java中的ibatis同出Apache,基本原理与配置类似。自己晚上写了一个Sample,用的是DataMapper 1.3,开发工具是 vs2005, 运行环境是.net2.0。 运行,倒!报错:

[SqlException (0x80131904): 用户 'sa' 登录失败。]

System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +437

System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82

System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105

System.Data.SqlClient.SqlConnection.Open() +111

IBatisNet.DataMapper.SqlMapSession.OpenConnection(String connectionString) +87

[DataMapperException: Unable to open connection to "Microsoft SQL Server 7.0/2000, provider V1.0.5000.0 in framework .NET V1.1".]

IBatisNet.DataMapper.SqlMapSession.OpenConnection(String connectionString) +319

IBatisNet.DataMapper.SqlMapSession.OpenConnection() +21

IBatisNet.DataMapper.SqlMapper.QueryForList(String statementName, Object parameterObject) +86

就搞不大明白了,我在“善友”的blog上看他写到:

“ IBatisNet 1.3也将直接支持DotNet 2.0的数据方面两大特性:Nullable和泛型,IBatisNet 1.3也直接支持Sql server 2005。”

为什么运行时,报告Unable to open connection to "Microsoft SQL Server 7.0/2000, provider V1.0.5000.0 in framework .NET V1.1"., 我明明配置的provider是sqlServer2.0?

查了下Apache的官方网站,目前已经测试过的数据库驱动 for .NET DataMapper (IBatisNet)如下表,居然没有支持.net2.0的??

如果哪位大峡做过相关开发,望告知小弟!

database name

database version

provider

version

notes

DB2

DB2 iSeries

IBM DB2 iSeries

10.0

not fully tested

Firebird

1.5

Firebird SQL .NET provider

1.7

not fully tested

MS Access

2000

Microsoft

.NET Framework 1.1 OLEDB

MS SQL Server

2000

Microsoft

.NET Framework 1.0 System.Data.SqlClient

MS SQL Server

2000

Microsoft

.NET Framework 1.1 System.Data.SqlClient

MS SQL Server

2000

Microsoft

.NET Framework 1.1 OLEDB

MS SQL Server

2000

Microsoft

.NET Framework 1.1 ODBC

MySQL

4.1

ByteFx

0.7.6

MySQL

4.1

MySQL Connector/Net

1.0.5

Oracle

10g

Microsoft

.NET Framework 1.1 System.Data.OracleClient

currently easier to use with the DataMapper vs ODP.NET

Oracle

10g

Oracle

ODP.NET 10g

Oracle

9i

Microsoft

.NET Framework 1.1 System.Data.OracleClient

Oracle

9i

Oracle

ODP.NET 10g

PostgreSQL

8

Npgsql

0.7

PostgreSQL

7.5

Npgsql

0.7

SQLite

3.2

SQLite

SQLite.NET provider V0.21

not fully tested

今天在网上看了一下IBatisNet for .net,和java中的ibatis同出Apache,基本原理与配置类似。自己晚上写了一个Sample,用的是DataMapper 1.3,开发工具是 vs2005, 运行环境是.net2.0。 运行,倒!报错:

[SqlException (0x80131904): 用户 'sa' 登录失败。]

System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +437

System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82

System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105

System.Data.SqlClient.SqlConnection.Open() +111

IBatisNet.DataMapper.SqlMapSession.OpenConnection(String connectionString) +87

[DataMapperException: Unable to open connection to "Microsoft SQL Server 7.0/2000, provider V1.0.5000.0 in framework .NET V1.1".]

IBatisNet.DataMapper.SqlMapSession.OpenConnection(String connectionString) +319

IBatisNet.DataMapper.SqlMapSession.OpenConnection() +21

IBatisNet.DataMapper.SqlMapper.QueryForList(String statementName, Object parameterObject) +86

就搞不大明白了,我在“善友”的blog上看他写到:

“ IBatisNet 1.3也将直接支持DotNet 2.0的数据方面两大特性:Nullable和泛型,IBatisNet 1.3也直接支持Sql server 2005。”

为什么运行时,报告Unable to open connection to "Microsoft SQL Server 7.0/2000, provider V1.0.5000.0 in framework .NET V1.1"., 我明明配置的provider是sqlServer2.0?

查了下Apache的官方网站,目前已经测试过的数据库驱动 for .NET DataMapper (IBatisNet)如下表,居然没有支持.net2.0的??

如果哪位大峡做过相关开发,望告知小弟!

database name

database version

provider

version

notes

DB2

DB2 iSeries

IBM DB2 iSeries

10.0

not fully tested

Firebird

1.5

Firebird SQL .NET provider

1.7

not fully tested

MS Access

2000

Microsoft

.NET Framework 1.1 OLEDB

MS SQL Server

2000

Microsoft

.NET Framework 1.0 System.Data.SqlClient

MS SQL Server

2000

Microsoft

.NET Framework 1.1 System.Data.SqlClient

MS SQL Server

2000

Microsoft

.NET Framework 1.1 OLEDB

MS SQL Server

2000

Microsoft

.NET Framework 1.1 ODBC

MySQL

4.1

ByteFx

0.7.6

MySQL

4.1

MySQL Connector/Net

1.0.5

Oracle

10g

Microsoft

.NET Framework 1.1 System.Data.OracleClient

currently easier to use with the DataMapper vs ODP.NET

Oracle

10g

Oracle

ODP.NET 10g

Oracle

9i

Microsoft

.NET Framework 1.1 System.Data.OracleClient

Oracle

9i

Oracle

ODP.NET 10g

PostgreSQL

8

Npgsql

0.7

PostgreSQL

7.5

Npgsql

0.7

SQLite

3.2

SQLite

SQLite.NET provider V0.21

not fully tested

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值