##########################################
###datasource
##########################################
###spring.datasource.url:mysql地址
###spring.datasource.user:數據庫用戶名
###spring.datasource.password:數據庫密碼
###spring.datasource.driverClassName:對應數據庫驅動
###spring.datasource.max-active:指定連接池中最大的活躍連接數
###spring.datasource.max-idle:指定連接池最大的空閑連接數量
###spring.datasource.min-idle:指定必須保持連接的最小值(For DBCP and Tomcat connection pools)
###spring.datasource.initial-size:指定啟動連接池時,初始建立的連接數量
##########################################
###其他信息總結
##########################################
###spring.dao.exceptiontranslation.enabled 是否開啟PersistenceExceptionTranslationPostProcessor,默認為true
###spring.datasource.abandon-when-percentage-full 設定超時被廢棄的連接占到多少比例時要被關閉或上報
###spring.datasource.allow-pool-suspension 使用Hikari pool時,是否允許連接池暫停,默認為: false
###spring.datasource.alternate-username-allowed 是否允許替代的用戶名
###spring.datasource.auto-commit 指定updates是否自動提交.
###spring.datasource.catalog 指定默認的catalog.
###spring.datasource.commit-on-return 設置當連接被歸還時,是否要提交所有還未完成的事務
###spring.datasource.connection-init-sql 指定連接被創建,再被添加到連接池之前執行的sql.
###spring.datasource.connection-init-sqls 使用DBCP connection pool時,指定初始化時要執行的sql
###spring.datasource.connection-properties.[key] 在使用DBCP connection pool時指定要配置的屬性
###spring.datasource.connection-test-query 指定校驗連接合法性執行的sql語句
###spring.datasource.connection-timeout 指定連接的超時時間,毫秒單位.
###spring.datasource.continue-on-error 在初始化數據庫時,遇到錯誤是否繼續,默認false
###spring.datasource.data 指定Data (DML)腳本
###spring.datasource.data-source-class-name 指定數據源的全限定名.
###spring.datasource.data-source-jndi 指定jndi的地址
###spring.datasource.data-source-properties.[key] 使用Hikari connection pool時,指定要設置的屬性
###spring.datasource.db-properties 使用Tomcat connection pool,指定要設置的屬性
###spring.datasource.default-auto-commit 是否自動提交.
###spring.datasource.default-catalog 指定連接默認的catalog.
###spring.datasource.default-read-only 是否設置默認連接只讀.
###spring.datasource.default-transaction-isolation 指定連接的事務的默認隔離級別.
###spring.datasource.driver-class-name 指定driver的類名,默認從jdbc url中自動探測.
###spring.datasource.fair-queue 是否采用FIFO返回連接.
###spring.datasource.health-check-properties.[key] 使用Hikari connection pool時,在心跳檢查時傳遞的屬性
###spring.datasource.idle-timeout 指定連接多久沒被使用時,被設置為空閑,默認為10ms
###spring.datasource.ignore-exception-on-pre-load 當初始化連接池時,是否忽略異常.
###spring.datasource.init-sql 當連接創建時,執行的sql
###spring.datasource.initial-size 指定啟動連接池時,初始建立的連接數量
###spring.datasource.initialization-fail-fast 當創建連接池時,沒法創建指定最小連接數量是否拋異常
###spring.datasource.initialize 指定初始化數據源,是否用data.sql來初始化,默認: true
###spring.datasource.isolate-internal-queries 指定內部查詢是否要被隔離,默認為false
###spring.datasource.jdbc-interceptors 使用Tomcat connection pool時,指定jdbc攔截器,分號分隔
###spring.datasource.jdbc-url 指定JDBC URL.
###spring.datasource.jmx-enabled 是否開啟JMX,默認為: false
###spring.datasource.jndi-name 指定jndi的名稱.
###spring.datasource.leak-detection-threshold 使用Hikari connection pool時,多少毫秒檢測一次連接泄露.
###spring.datasource.log-abandoned 使用DBCP connection pool,是否追蹤廢棄statement或連接,默認為: false
###spring.datasource.log-validation-errors 當使用Tomcat connection pool是否打印校驗錯誤.
###spring.datasource.login-timeout 指定連接數據庫的超時時間.
###spring.datasource.max-age 指定連接池中連接的最大年齡
###spring.datasource.max-lifetime 指定連接池中連接的最大生存時間,毫秒單位.
###spring.datasource.max-open-prepared-statements 指定最大的打開的prepared statements數量.
###spring.datasource.max-wait 指定連接池等待連接返回的最大等待時間,毫秒單位.
###spring.datasource.maximum-pool-size 指定連接池最大的連接數,包括使用中的和空閑的連接.
###spring.datasource.min-evictable-idle-time-millis 指定一個空閑連接最少空閑多久后可被清除.
###spring.datasource.min-idle 指定必須保持連接的最小值(For DBCP and Tomcat connection pools)
###spring.datasource.minimum-idle 指定連接維護的最小空閑連接數,當使用HikariCP時指定.
###spring.datasource.name 指定數據源名.
###spring.datasource.num-tests-per-eviction-run 指定運行每個idle object evictor線程時的對象數量
###spring.datasource.password 指定數據庫密碼.
###spring.datasource.platform 指定schema要使用的Platform(schema-${platform}.sql),默認為: all
###spring.datasource.pool-name 指定連接池名字.
###spring.datasource.pool-prepared-statements 指定是否池化statements.
###spring.datasource.propagate-interrupt-state 在等待連接時,如果線程被中斷,是否傳播中斷狀態.
###spring.datasource.read-only 當使用Hikari connection pool時,是否標記數據源只讀
###spring.datasource.register-mbeans 指定Hikari connection pool是否注冊JMX MBeans.
###spring.datasource.remove-abandoned 指定當連接超過廢棄超時時間時,是否立刻刪除該連接.
###spring.datasource.remove-abandoned-timeout 指定連接應該被廢棄的時間.
###spring.datasource.rollback-on-return 在歸還連接時,是否回滾等待中的事務.
###spring.datasource.schema 指定Schema (DDL)腳本.
###spring.datasource.separator 指定初始化腳本的語句分隔符,默認: ;
###spring.datasource.sql-script-encoding 指定SQL scripts編碼.
###spring.datasource.suspect-timeout 指定打印廢棄連接前的超時時間.
###spring.datasource.test-on-borrow 當從連接池借用連接時,是否測試該連接.
###spring.datasource.test-on-connect 創建時,是否測試連接
###spring.datasource.test-on-return 在連接歸還到連接池時是否測試該連接.
###spring.datasource.test-while-idle 當連接空閑時,是否執行連接測試.
###spring.datasource.time-between-eviction-runs-millis 指定空閑連接檢查、廢棄連接清理、空閑連接池大小調整之間的操作時間間隔
###spring.datasource.transaction-isolation 指定事務隔離級別,使用Hikari connection pool時指定
###spring.datasource.url 指定JDBC URL.
###spring.datasource.use-disposable-connection-facade 是否對連接進行包裝,防止連接關閉之后被使用.
###spring.datasource.use-equals 比較方法名時是否使用String.equals()替換==.
###spring.datasource.use-lock 是否對連接操作加鎖
###spring.datasource.username 指定數據庫名.
###spring.datasource.validation-interval 指定多少ms執行一次連接校驗.
###spring.datasource.validation-query 指定獲取連接時連接校驗的sql查詢語句.
###spring.datasource.validation-query-timeout 指定連接校驗查詢的超時時間.
###spring.datasource.validation-timeout 設定連接校驗的超時時間,當使用Hikari connection pool時指定
###spring.datasource.validator-class-name 用來測試查詢的validator全限定名.
###spring.datasource.xa.data-source-class-name 指定數據源的全限定名.
###spring.datasource.xa.properties 指定傳遞給XA data source的屬性
##########################################
##SPring JPA配置信息
##########################################
###spring.jpa.database 指定目標數據庫.
###spring.jps.show-sq 是否顯示sql語句
###spring.jpa.hibernate.ddl-auto 指定DDL mode (none, validate, update, create, create-drop). 當使用內嵌數據庫時,默認是create-drop,否則為none.
###spring.jpa.hibernate.naming-strategy 指定命名策略.
##########################################
###其他
##########################################
###spring.jpa.database-platform 指定目標數據庫的類型.
###spring.jpa.generate-ddl 是否在啟動時初始化schema,默認為false
###spring.jpa.hibernate.ddl-auto 指定DDL mode (none, validate, update, create, create-drop). 當使用內嵌數據庫時,默認是create-drop,否則為none.
###spring.jpa.hibernate.naming-strategy 指定命名策略.
###spring.jpa.open-in-view 是否注冊OpenEntityManagerInViewInterceptor,綁定JPA EntityManager到請求線程中,默認為: true
###spring.jpa.properties 添加額外的屬性到JPA provider.
###spring.jpa.show-sql 是否開啟sql的log,默認為: false
##########################################