r221 - in trunk: . magalie-persistence magalie-persistence/src/main/resources
Author: Bavencoff Date: 2013-05-30 17:11:54 +0200 (Thu, 30 May 2013) New Revision: 221 Url: http://forge.codelutin.com/projects/franciaflex-magalie/repository/revisions... Log: Prepare release : hibernate c3p0 Modified: trunk/magalie-persistence/pom.xml trunk/magalie-persistence/src/main/resources/magalie.properties trunk/pom.xml Modified: trunk/magalie-persistence/pom.xml =================================================================== --- trunk/magalie-persistence/pom.xml 2013-05-30 15:09:57 UTC (rev 220) +++ trunk/magalie-persistence/pom.xml 2013-05-30 15:11:54 UTC (rev 221) @@ -38,6 +38,12 @@ </dependency> <dependency> + <groupId>org.hibernate</groupId> + <artifactId>hibernate-c3p0</artifactId> + <scope>runtime</scope> + </dependency> + + <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <scope>compile</scope> Modified: trunk/magalie-persistence/src/main/resources/magalie.properties =================================================================== --- trunk/magalie-persistence/src/main/resources/magalie.properties 2013-05-30 15:09:57 UTC (rev 220) +++ trunk/magalie-persistence/src/main/resources/magalie.properties 2013-05-30 15:11:54 UTC (rev 221) @@ -29,3 +29,7 @@ hibernate.show_sql=false hibernate.format_sql=true hibernate.ejb.naming_strategy=org.hibernate.cfg.ImprovedNamingStrategy +hibernate.c3p0.min_size=5 +hibernate.c3p0.max_size=20 +hibernate.c3p0.timeout=1800 +hibernate.c3p0.max_statements=50 Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2013-05-30 15:09:57 UTC (rev 220) +++ trunk/pom.xml 2013-05-30 15:11:54 UTC (rev 221) @@ -153,6 +153,12 @@ </dependency> <dependency> + <groupId>org.hibernate</groupId> + <artifactId>hibernate-c3p0</artifactId> + <version>${hibernateVersion}</version> + </dependency> + + <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <scope>provided</scope>
participants (1)
-
Bavencoffļ¼ users.forge.codelutin.com