Bonjour à tous,

J'ai un gros probleme avec ma connexion à MySql sur ma webapp ...

Au bout d'un certain temps, ca se coupe, mes requetes n'aboutissent plus ... Je suis pourtant passé à C3PO ....

VOici mon hibernate.cg, au cas ou :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
  <?xml version="1.0" encoding="utf-8" ?> 
  <!DOCTYPE hibernate-configuration (View Source for full doctype...)> 
- <hibernate-configuration>
- <session-factory>
- <!--  local connection properties 
  --> 
  <property name="hibernate.connection.url">jdbc:mysql://localhost/datadegrees</property> 
  <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property> 
  <property name="hibernate.connection.username">datadegrees</property> 
  <property name="hibernate.connection.password">datadegrees</property> 
- <!--  property name="hibernate.connection.pool_size"></property 
  --> 
- <!--  dialect for MySQL 
  --> 
  <property name="hibernate.c3p0.min_size">5</property> 
  <property name="hibernate.c3p0.max_size">20</property> 
  <property name="hibernate.c3p0.timeout">1800</property> 
  <property name="hibernate.c3p0.max_statement">50</property> 
  <property name="hibernate.dialect">5</property> 
  <property name="hibernate.c3p0.min_size">5</property> 
  <property name="dialect">net.sf.hibernate.dialect.MySQLDialect</property> 
  <property name="hibernate.show_sql">false</property> 
  <property name="hibernate.use_outer_join">true</property> 
  <property name="hibernate.transaction.factory_class">net.sf.hibernate.transaction.JDBCTransactionFactory</property> 
 
.../...
Merci pour votre aide !! Je suis perdu ....