~raginggoblin/infolog/infolog

« back to all changes in this revision

Viewing changes to InfologServer/hibernate.cfg.xml

  • Committer: Raging Goblin
  • Date: 2013-11-16 16:51:32 UTC
  • Revision ID: raging_goblin-20131116165132-weujnptzc88uy4ah
Mavenized the project, now using shared project InfologSync

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
<hibernate-configuration>
5
5
        <session-factory>
6
6
                <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
7
 
                <property name="hibernate.connection.url">jdbc:mysql://<SERVERNAME OR IP>:<PORT>/<DATABASE NAME></property>
8
 
                <property name="hibernate.connection.username"><USERNAME></property>
9
 
                <property name="hibernate.connection.password"><PASSWORD></property>
 
7
                <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/egroupware</property>
 
8
                <property name="hibernate.connection.username">infolog</property>
 
9
                <property name="hibernate.connection.password">infolog</property>
10
10
                <property name="show_sql">false</property>
11
11
                <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
 
12
                <property name="javax.persistence.validation.mode">none</property>
12
13
 
13
14
                <property name="c3p0.min_size">5</property>
14
15
                <property name="c3p0.max_size">10</property>
15
 
                <property name="c3p0.timeout">600</property>
 
16
                <property name="c3p0.timeout">600</property>
16
17
                <property name="c3p0.max_statements">25</property>
17
 
                <property name="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
18
 
                
19
 
                <mapping class="egroupware.infolog.server.dba.Account" />
20
 
                <mapping class="egroupware.infolog.server.dba.Infolog" />
 
18
                <property name="c3p0.acquireRetryAttempts">5</property>
 
19
                <property name="connection.provider_class">org.hibernate.service.jdbc.connections.internal.C3P0ConnectionProvider</property>
 
20
 
 
21
                <mapping class="raging.goblin.infolog.server.data.Account" />
 
22
                <mapping class="raging.goblin.infolog.server.data.InfologDao" />
21
23
        </session-factory>
22
24
</hibernate-configuration>