zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    SpringMVC-11-文件上传和下载
    SpringMVC-10-拦截器Interceptor
    SpringMVC-09-Ajax技术
    SpringMVC-08-整合SSM之CRUD
    SpringMVC-08-SpringMVC层编写
    SpringMVC-08-整合SSM之Spring层编写
    SpringMVC-08-Mybatis层编写
    SpringMVC-08-整合SSM之基本环境搭建
    SpringMVC-07-JSON讲解
    SpringMVC-06-数据处理
  • 原文地址:https://www.cnblogs.com/shiningrise/p/1231421.html
Copyright © 2011-2022 走看看