IBatis.Net框架连接oracle数据库
我的sqlMap.config里面是这么连接的
<database> <dataSource name="Botwave_XQP2" connectionString="Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.161)(PORT=1521))(CONNECT_DATA=(SID=easyflow)));User Id=easyflow;Password=password;" /> </database>
<provider name="oracleClient1.0" description="Oracle, Microsoft provider V1.0.5000.0" enabled="true" default="true" assemblyName="System.Data.OracleClient, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" connectionClass="System.Data.OracleClient.OracleConnection" commandClass="System.Data.OracleClient.OracleCommand" parameterClass="System.Data.OracleClient.OracleParameter" parameterDbTypeClass="System.Data.OracleClient.OracleType" parameterDbTypeProperty="OracleType" dataAdapterClass="System.Data.OracleClient.OracleDataAdapter" commandBuilderClass="System.Data.OracleClient.OracleCommandBuilder" usePositionalParameters="false" useParameterPrefixInSql="true" useParameterPrefixInParameter="false" parameterPrefix=":" allowMARS="false" />