forked from transmart/transmartApp-Config
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDataSource.groovy
More file actions
32 lines (27 loc) · 776 Bytes
/
Copy pathDataSource.groovy
File metadata and controls
32 lines (27 loc) · 776 Bytes
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
/**
* Configuration for database connection - this file will be loaded
* by the tranSMART application when the tomcat is restarted
*/
dataSource {
driverClassName ="org.postgresql.Driver"
url = "jdbc:postgresql://localhost:5432/transmart"
username = "biomart_user"
password = "biomart_user"
dialect = "org.hibernate.dialect.PostgreSQLDialect"
}
/*
dataSource {
driverClassName ="oracle.jdbc.driver.OracleDriver"
url = "jdbc:oracle:thin:@localhost:1521:xe"
username = "biomart_user"
password = "biomart_user"
dialect = "org.hibernate.dialect.Oracle10gDialect"
pooled = true
}
*/
hibernate {
cache.use_second_level_cache=true
cache.use_query_cache=true
cache.provider_class='org.hibernate.cache.EhCacheProvider'
connection.pool_size=30
}