iBatis使用firebird数据库

  <provider
        name
="Firebird2.5"
        description
="Firebird, Firebird SQL .NET provider V2.5.0.0"
        enabled
="true"
        assemblyName
="FirebirdSql.Data.FirebirdClient, Version=2.5.0.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c"
        connectionClass
="FirebirdSql.Data.FirebirdClient.FbConnection"
        commandClass
="FirebirdSql.Data.FirebirdClient.FbCommand"
        parameterClass
="FirebirdSql.Data.FirebirdClient.FbParameter"
        parameterDbTypeClass
="FirebirdSql.Data.FirebirdClient.FbDbType"
        parameterDbTypeProperty
="FbDbType"
        dataAdapterClass
="FirebirdSql.Data.FirebirdClient.FbDataAdapter"
        commandBuilderClass
="FirebirdSql.Data.FirebirdClient.FbCommandBuilder"
        usePositionalParameters 
= "false"
        useParameterPrefixInSql 
= "true"
        useParameterPrefixInParameter 
= "true"
        parameterPrefix
="@"
    
/>

    <provider name="Firebird2.5"/>
    
<dataSource name="iBatisTutorial"  connectionString="User=SYSDBA;Password=masterkey;Database=E:\Code\Data\test.FDB;DataSource=localhost;Port=3050;Dialect=3; Charset=NONE;Role=;Connection lifetime=15;Pooling=true;MinPoolSize=0;MaxPoolSize=50;Packet Size=8192;ServerType=0;"/>


使用说firebird数据为版本为2.1

 向数据为插入中文时会成乱码。有谁知道怎么触觉请告知,谢谢.

/Files/shiningrise/2008/WebIBatis.rar

posted @ 2008-06-28 02:40  shiningrise  阅读(1047)  评论(2编辑  收藏  举报
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css