z-dbutils.2.2.source-code.config.properties Maven / Gradle / Ivy
#Support multiple data sources
ez_multi_ds_support=true
#Multiple data source configuration items to obtain SQL, Must return the following fields
ez_multi_ds_query=select code,poolSupport,monitor,driver,url,username,password,initialSize,maxActive,minIdle,maxIdle,maxWait,autoCommit,rmAbandoned,rmAbandonedTimeout,betweenEvictionRuns,minEvictableIdle from multi_ds where enable=1
#db settings
ez_db_pool_support=true
#dbcp OR druid
ez_db_pool_type=dbcp
#use for druid only
ez_db_pool_monitor=true
ez_db_pool_initialSize=10
ez_db_pool_maxActive=50
ez_db_pool_minIdle=5
ez_db_pool_maxIdle=20
ez_db_pool_maxWait=60000
ez_db_pool_defaultAutoCommit=true
ez_db_pool_removeAbandoned=true
ez_db_pool_removeAbandonedTimeoutMillis=180
ez_db_pool_timeBetweenEvictionRunsMillis=3600000
ez_db_pool_minEvictableIdleTimeMillis=3600000
#Oracle settings
#ez_db_jdbc_driver=oracle.jdbc.driver.OracleDriver
#ez_db_jdbc_url=jdbc:oracle:thin:@10.118.128.89:1521:lsgamis
#ez_db_jdbc_username=gajs
#ez_db_jdbc_password=oracle
#H2 settings
ez_db_jdbc_driver=org.h2.Driver
ez_db_jdbc_url=jdbc:h2:mem:db
#ez_db_jdbc_url=jdbc:h2:C:/tmp/h2;AUTO_SERVER=TRUE;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
ez_db_jdbc_username=sa
ez_db_jdbc_password=
#Mysql setting
#ez_db_jdbc_driver=com.mysql.jdbc.Driver
#ez_db_jdbc_url=jdbc:mysql://127.0.0.1:3306/test?useUnicode=true&characterEncoding=utf-8
#ez_db_jdbc_username=root
#ez_db_jdbc_password=
#Spark SQL setting
#ez_db_jdbc_driver=org.apache.hive.jdbc.HiveDriver
#ez_db_jdbc_url=jdbc:hive2://10.80.11.235:10009
#ez_db_jdbc_username=root
#ez_db_jdbc_password=
© 2015 - 2025 Weber Informatics LLC | Privacy Policy