Changeset 615 for geisa/persistence
- Timestamp:
- 10/30/12 15:52:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
geisa/persistence/implementation/hibernate.cfg.xml
r594 r615 15 15 <property name="hibernateProperties"> 16 16 <props> 17 18 19 20 21 17 <!--<prop key="hibernate.bytecode.use_reflection_optimizer">false</prop>--> 18 <!--<prop key="hibernate.connection.driver_class">org.postgresql.Driver</prop>--> 19 <!--<prop key="hibernate.connection.url">jdbc:postgresql://darkstar.ipslnet:5432/PROJECT_SOURCE</prop>--> 20 <!--<prop key="hibernate.connection.username">postgres</prop>--> 21 <!--<prop key="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</prop>--> 22 22 <prop key="hibernate.connection.driver_class">com.mysql.jdbc.Driver</prop> 23 < prop key="hibernate.connection.url">jdbc:mysql://localhost/geisa?autoReconnect=true</prop>24 <!-- <prop key="hibernate.connection.url">jdbc:mysql://localhost/geisa</prop>-->23 <!--<prop key="hibernate.connection.url">jdbc:mysql://localhost/geisa?autoReconnect=true</prop>--> 24 <prop key="hibernate.connection.url">jdbc:mysql://localhost/geisa</prop> 25 25 <!-- en local--> 26 26 <prop key="hibernate.connection.username">root</prop> 27 27 <!-- sur naboo --> 28 <!-- <prop key="hibernate.connection.username">geisa</prop> -->28 <!-- <prop key="hibernate.connection.username">geisa</prop> --> 29 29 <prop key="hibernate.connection.password">geisa11</prop> 30 30 <prop key="hibernate.dialect">org.hibernate.dialect.MySQLDialect</prop> 31 31 <prop key="hibernate.show_sql">true</prop> 32 32 <!--<prop key="hibernate.generate_statistics">true</prop>--> 33 33 34 </props> 35 </property> 34 <!-- configuration pool via c3p0--> 35 36 37 <prop key="hibernate.c3p0.acquire_increment">1</prop> 38 <prop key="hibernate.c3p0.idle_test_period">100</prop><!-- seconds --> 39 <prop key="hibernate.c3p0.max_size">100</prop><!-- Taille maximale du pool --> 40 <prop key="hibernate.c3p0.min_size">10</prop><!-- Taille minimale du pool --> 41 <prop key="hibernate.c3p0.timeout">0</prop><!-- seconds / 0 =jamais--> 42 <prop key="hibernate.c3p0.max_statements">0</prop><!-- Taille du cache de statements de C3P0. 0 = désactive le cache --> 43 <prop key="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</prop> 44 45 </props> 46 </property> 36 47 </bean> 37 48 … … 60 71 <!-- </bean> --> 61 72 73 62 74 </beans>
Note: See TracChangeset
for help on using the changeset viewer.