Subversion Repositories general

Rev

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

Rev Author Line No. Line
3 dev 1
<?xml version='1.0' encoding='utf-8'?>
2
<!DOCTYPE hibernate-configuration PUBLIC
3
		"-//Hibernate/Hibernate Configuration DTD 2.0//EN"
4
		"http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd">
5
 
6
<hibernate-configuration>
7
	<session-factory
8
		name="java:comp/env/hibernate/SessionFactory">
9
 
10
		<!-- properties -->
11
		<property name="connection.driver_class">org.postgresql.Driver</property>
12
		<property name="connection.username">user</property>
13
		<property name="connection.password">password</property>
11 dev 14
		<property name="connection.url">jdbc:postgresql://localhost/kickup</property>
3 dev 15
 
16
		<property name="dialect">net.sf.hibernate.dialect.PostgreSQLDialect</property>
17
		<property name="show_sql">false</property>
30 dev 18
 
19
		<property name="dbcp.maxActive">15</property>
20
		<property name="dbcp.maxIdle">5</property>
21
		<property name="dbcp.maxWait">120000</property>
22
		<property name="dbcp.whenExhaustedAction">1</property>
23
		<property name="dbcp.testOnBorrow">true</property>
24
		<property name="dbcp.testOnReturn">false</property>
25
		<property name="dbcp.validationQuery">select 1</property>
26
		<property name="dbcp.ps.maxActive">15</property>
27
		<property name="dbcp.ps.maxIdle">5</property>
28
		<property name="dbcp.ps.maxWait">120000</property>
29
		<property name="dbcp.ps.whenExhaustedAction">1</property>
3 dev 30
	</session-factory>
31
</hibernate-configuration>