zoukankan      html  css  js  c++  java
  • 使用SQLite作为Quartz.Net的Job Store

    打算使用最新版本SQLite作为Quartz.Net的Job Store。

    在Quartz.Impl.AdoJobStore.Common下的dbproviders.properties添加以下内容:

    # Sqlite 1.0.61.0 + ADO Net provider for sqlite
    # Driver can be found at : http://sqlite.phxsoftware.com
    quartz.dbprovider.SQLite-106.assemblyName=System.Data.SQLite, Version=1.0.61.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139
    quartz.dbprovider.SQLite-106.connectionType=System.Data.SQLite.SQLiteConnection, System.Data.SQLite, Version=1.0.61.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139
    quartz.dbprovider.SQLite-106.commandType=System.Data.SQLite.SQLiteCommand, System.Data.SQLite, Version=1.0.61.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139
    quartz.dbprovider.SQLite-106.parameterType=System.Data.SQLite.SQLiteParameter, System.Data.SQLite, Version=1.0.61.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139
    #quartz.dbprovider.SQLite-106.dataAdapterType=System.Data.SQLite.SQLiteDataAdapter , System.Data.SQLite, Version=1.0.61.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139
    quartz.dbprovider.SQLite-106.commandBuilderType=System.Data.SQLite.SQLiteCommandBuilder, System.Data.SQLite, Version=1.0.61.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139
    #quartz.dbprovider.SQLite-106.commandBuilderDeriveParametersMethod=DeriveParameters
    quartz.dbprovider.SQLite-106.parameterDbType=System.Data.SQLite.TypeAffinity, System.Data.SQLite, Version=1.0.61.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139
    quartz.dbprovider.SQLite-106.parameterDbTypePropertyName=DbType
    #quartz.dbprovider.SQLite-106.parameterIsNullableProperty=IsNullable
    quartz.dbprovider.SQLite-106.parameterNamePrefix=@
    quartz.dbprovider.SQLite-106.exceptionType=System.Data.SQLite.SQLiteException, System.Data.SQLite, Version=1.0.61.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139
    quartz.dbprovider.SQLite-106.useParameterNamePrefixInParameterCollection=true
    quartz.dbprovider.SQLite-106.bindByName=true

    在Quartz的配置文件中,添加以下内容:

       <add key="quartz.dataSource.default.connectionString" value="Data Source=d:\quartz.db3;Version=3;" />
       <add key="quartz.dataSource.default.provider" value="SQLite-106" />

  • 相关阅读:
    二级域名共享主站cookies登陆,整合asp
    AS3事件类型 (as3开发技术大全读书笔记)
    如何通过AS3加载外部SWF文件,调用外部文件文档类的方法?
    C#导出Excel总结
    2010年2月编程语言排行榜,ObjectiveC势头强劲
    Flex组件开发总结(aierong原创技术随笔)
    积少成多 Flash(ActionScript 3.0 & Flex 3.0) 系列文章索引
    C#导出Excel的函数(可根据实际需要进行相应修改)
    基于FMS的在线录制例子
    处理外部信息(xml,html,js,shareObject)
  • 原文地址:https://www.cnblogs.com/TerryLiang/p/1489178.html
Copyright © 2011-2022 走看看