From e993db9862741f7a861c03878176576a765dc917 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Tue, 21 Jul 2015 15:31:31 +0200 Subject: update template configuration --- .../data/deploy/conf/moa-id/moa-id.properties | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'id/server/data/deploy/conf/moa-id/moa-id.properties') diff --git a/id/server/data/deploy/conf/moa-id/moa-id.properties b/id/server/data/deploy/conf/moa-id/moa-id.properties index b01236506..66f9afac6 100644 --- a/id/server/data/deploy/conf/moa-id/moa-id.properties +++ b/id/server/data/deploy/conf/moa-id/moa-id.properties @@ -89,24 +89,24 @@ moasession.hibernate.c3p0.min_size=3 #Hibnerate configuration for MOA-ID 2.0 configuration configuration.hibernate.dialect=org.hibernate.dialect.MySQLDialect +configuration.jpaVendorAdapter.generateDdl=true +configuration.hibernate.show_sql=false + configuration.hibernate.connection.url=jdbc:mysql://localhost/moa-id-config?charSet=utf-8&autoReconnect=true configuration.hibernate.connection.charSet=utf-8 configuration.hibernate.connection.driver_class=com.mysql.jdbc.Driver configuration.hibernate.connection.username= configuration.hibernate.connection.password= - -configuration.hibernate.hbm2ddl.auto=update -configuration.hibernate.current_session_context_class=thread -configuration.hibernate.transaction.auto_close_session=true -configuration.hibernate.show_sql=false -configuration.hibernate.format_sql=true -configuration.hibernate.connection.provider_class=org.hibernate.service.jdbc.connections.internal.C3P0ConnectionProvider -configuration.hibernate.c3p0.acquire_increment=3 -configuration.hibernate.c3p0.idle_test_period=60 -configuration.hibernate.c3p0.timeout=300 -configuration.hibernate.c3p0.max_size=20 -configuration.hibernate.c3p0.max_statements=0 -configuration.hibernate.c3p0.min_size=3 +configuration.dbcp.connectionProperties= + +configuration.dbcp.initialSize=0 +configuration.dbcp.maxActive=8 +configuration.dbcp.maxIdle=8 +configuration.dbcp.minIdle=0 +configuration.dbcp.maxWaitMillis=-1 +configuration.dbcp.testOnBorrow=true +configuration.dbcp.testOnReturn=false +configuration.dbcp.testWhileIdle=false # #Hibnerate configuration for MOA-ID 2.0 advanced statistic logging -- cgit v1.2.3