• 数据库连接JDBC


    #=======================mysql=============================
    #jdbc.driverClassName=com.mysql.jdbc.Driver
    #jdbc.url=jdbc:mysql://localhost:3306/operationLog
    #jdbc.username=root
    #jdbc.password=ROOT
    #=========================================================
    
    #======================oracle=============================
    jdbc.driverClassName=oracle.jdbc.OracleDriver
    jdbc.url=jdbc:oracle:thin:@172.16.3.55:1521:orcl
    jdbc.username=operationlog
    jdbc.password=operationlog
    #=========================================================
    
    
    #======================sqlservice=========================
    ##jdbc.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
    ##jdbc.url=jdbc:sqlserver://127.0.0.1:1433;DatabaseName=Students
    ##jdbc.username=sa
    ##jdbc.password=123456
    #=========================================================
    
    
    #====================== 通用配置==============================
    jdbc.initialSize=5
    jdbc.minIdle=5
    jdbc.maxIdle=20
    jdbc.maxActive=100
    jdbc.maxWait=100000
    jdbc.defaultAutoCommit=false
    jdbc.removeAbandoned=true
    jdbc.removeAbandonedTimeout=600
    jdbc.testWhileIdle=true
    jdbc.timeBetweenEvictionRunsMillis=60000
    jdbc.numTestsPerEvictionRun=20
    jdbc.minEvictableIdleTimeMillis=300000
    #=========================================================
    

      

  • 相关阅读:
    PHP使用Redis的GEO地理信息类型
    Redis长短链接的区别
    Linux之ln文件创建链接
    xml与json格式互转
    爬虫实例:唐诗宋词爬虫
    爬虫实例:天猫商品评论爬虫
    爬虫实例:饿了么爬虫
    爬虫实例:中国日报高频词汇爬虫
    爬虫实例:今日头条爬虫
    特殊类型的列表切片
  • 原文地址:https://www.cnblogs.com/feitianshaoxai/p/6604032.html
Copyright © 2020-2023  润新知