Subversion Repositories general

Rev

Rev 13 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
                "-//Hibernate/Hibernate Configuration DTD 2.0//EN"
                "http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd">

<hibernate-configuration>
        <session-factory
                name="java:comp/env/hibernate/SessionFactory">

                <!-- properties -->
                <property name="connection.driver_class">org.postgresql.Driver</property>
                <property name="connection.username">user</property>
                <property name="connection.password">password</property>
                <property name="connection.url">jdbc:postgresql://localhost/kickup</property>

                <property name="dialect">net.sf.hibernate.dialect.PostgreSQLDialect</property>
                <property name="show_sql">false</property>

                <property name="dbcp.maxActive">15</property>
                <property name="dbcp.maxIdle">5</property>
                <property name="dbcp.maxWait">120000</property>
                <property name="dbcp.whenExhaustedAction">1</property>
                <property name="dbcp.testOnBorrow">true</property>
                <property name="dbcp.testOnReturn">false</property>
                <property name="dbcp.validationQuery">select 1</property>
                <property name="dbcp.ps.maxActive">15</property>
                <property name="dbcp.ps.maxIdle">5</property>
                <property name="dbcp.ps.maxWait">120000</property>
                <property name="dbcp.ps.whenExhaustedAction">1</property>
        </session-factory>
</hibernate-configuration>