-
Notifications
You must be signed in to change notification settings - Fork 1
/
reference.conf
64 lines (44 loc) · 2.24 KB
/
reference.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
voidframework {
# Core configuration
core {
acceptedScanPaths += "dev.voidframework.datasource.hikaricp"
}
# HikariCP data source configuration
# datasource {
# Default data source
# default {
# Defines the driver to be used to communicate with the database
# driver = "org.h2.Driver"
# Defines the JDBC format URL to be used to reach the database
# url = "jdbc:h2:mem:void_framework;MODE=PostgreSQL;DATABASE_TO_UPPER=TRUE;"
# Defines the username to be provided durint the authentication step
# username = "sa"
# Defines the password to be provided durint the authentication step
# password = "sa"
# Enable or disable the prepared statements cache
# cachePrepStmts = true
# Defines the number of prepared statements cache to keep in the cache
# prepStmtCacheSize = 25
# Define the size of the largest SQL query for which the parsing result will be keep in the cache
# prepStmtCacheSqlLimit = 2048
# Enable or disable the auto commit behavior when the connection goes back into the pool
# autoCommit = false
# Defines the SQL statement that will be executed after every new connection
# connectionInitSql = "SELECT 1 FROM DUAL"
# Defines the SQL statement that will be executed to test if the connection is still valid
# connectionTestQuery = "SELECT 1 FROM DUAL"
# Defines the milliseconds to wait before timing out during the connection
# connectionTimeout = 10000
# Defines the milliseconds to wait before closing an unused connection
# idleTimeout = 30000
# Defines the milliseconds to wait before attempting to keep the connection alive
# keepaliveTime = 0
# Defines the minimum number of alive connections in the pool
# minimumIdle = 1
# Defines the maximum number of connections allowed in the pool
# maximumPoolSize = 10
# Defines the milliseconds to wait before closing a connection
# maxConnectionAge = 1800000
# }
# }
}