mirror of
https://github.com/sismics/docs.git
synced 2024-11-22 05:57:57 +01:00
#668: cleanup hibernate dependencies
This commit is contained in:
parent
e9a6609593
commit
1974a8bb8d
@ -21,16 +21,6 @@
|
|||||||
<artifactId>hibernate-core-jakarta</artifactId>
|
<artifactId>hibernate-core-jakarta</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.hibernate</groupId>
|
|
||||||
<artifactId>hibernate-entitymanager</artifactId>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.hibernate</groupId>
|
|
||||||
<artifactId>hibernate-c3p0</artifactId>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<!-- Other external dependencies -->
|
<!-- Other external dependencies -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>joda-time</groupId>
|
<groupId>joda-time</groupId>
|
||||||
|
@ -101,12 +101,9 @@ public final class EMF {
|
|||||||
props.put("hibernate.format_sql", "false");
|
props.put("hibernate.format_sql", "false");
|
||||||
props.put("hibernate.max_fetch_depth", "5");
|
props.put("hibernate.max_fetch_depth", "5");
|
||||||
props.put("hibernate.cache.use_second_level_cache", "false");
|
props.put("hibernate.cache.use_second_level_cache", "false");
|
||||||
props.put("hibernate.c3p0.min_size", "1");
|
props.put("hibernate.connection.initial_pool_size", "1");
|
||||||
props.put("hibernate.c3p0.max_size", "10");
|
props.put("hibernate.connection.pool_size", "10");
|
||||||
props.put("hibernate.c3p0.timeout", "5000");
|
props.put("hibernate.connection.pool_validation_interval", "5");
|
||||||
props.put("hibernate.c3p0.max_statements", "0");
|
|
||||||
props.put("hibernate.c3p0.acquire_increment", "1");
|
|
||||||
props.put("hibernate.c3p0.idle_test_period", "10");
|
|
||||||
return props;
|
return props;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8,7 +8,6 @@ hibernate.show_sql=true
|
|||||||
hibernate.format_sql=false
|
hibernate.format_sql=false
|
||||||
hibernate.max_fetch_depth=5
|
hibernate.max_fetch_depth=5
|
||||||
hibernate.cache.use_second_level_cache=false
|
hibernate.cache.use_second_level_cache=false
|
||||||
hibernate.c3p0.min_size=1
|
hibernate.connection.initial_pool_size=1
|
||||||
hibernate.c3p0.max_size=10
|
hibernate.connection.pool_size=10
|
||||||
hibernate.c3p0.timeout=0
|
hibernate.connection.pool_validation_interval=5
|
||||||
hibernate.c3p0.max_statements=0
|
|
@ -8,9 +8,6 @@ hibernate.show_sql=false
|
|||||||
hibernate.format_sql=false
|
hibernate.format_sql=false
|
||||||
hibernate.max_fetch_depth=5
|
hibernate.max_fetch_depth=5
|
||||||
hibernate.cache.use_second_level_cache=false
|
hibernate.cache.use_second_level_cache=false
|
||||||
hibernate.c3p0.min_size=1
|
hibernate.connection.initial_pool_size=1
|
||||||
hibernate.c3p0.max_size=10
|
hibernate.connection.pool_size=10
|
||||||
hibernate.c3p0.timeout=5000
|
hibernate.connection.pool_validation_interval=5
|
||||||
hibernate.c3p0.max_statements=0
|
|
||||||
hibernate.c3p0.acquire_increment=1
|
|
||||||
hibernate.c3p0.idle_test_period=10
|
|
||||||
|
@ -8,7 +8,6 @@ hibernate.show_sql=false
|
|||||||
hibernate.format_sql=false
|
hibernate.format_sql=false
|
||||||
hibernate.max_fetch_depth=5
|
hibernate.max_fetch_depth=5
|
||||||
hibernate.cache.use_second_level_cache=false
|
hibernate.cache.use_second_level_cache=false
|
||||||
hibernate.c3p0.min_size=1
|
hibernate.connection.initial_pool_size=1
|
||||||
hibernate.c3p0.max_size=10
|
hibernate.connection.pool_size=10
|
||||||
hibernate.c3p0.timeout=0
|
hibernate.connection.pool_validation_interval=5
|
||||||
hibernate.c3p0.max_statements=0
|
|
12
pom.xml
12
pom.xml
@ -332,18 +332,6 @@
|
|||||||
<version>${org.hibernate.hibernate.version}</version>
|
<version>${org.hibernate.hibernate.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.hibernate</groupId>
|
|
||||||
<artifactId>hibernate-entitymanager</artifactId>
|
|
||||||
<version>${org.hibernate.hibernate.version}</version>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.hibernate</groupId>
|
|
||||||
<artifactId>hibernate-c3p0</artifactId>
|
|
||||||
<version>${org.hibernate.hibernate.version}</version>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.freemarker</groupId>
|
<groupId>org.freemarker</groupId>
|
||||||
<artifactId>freemarker</artifactId>
|
<artifactId>freemarker</artifactId>
|
||||||
|
Loading…
Reference in New Issue
Block a user