Rev 13 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13 | Rev 30 | ||
---|---|---|---|
1 | <?xml version='1.0' encoding='utf-8'?> |
1 | <?xml version='1.0' encoding='utf-8'?> |
2 | <!DOCTYPE hibernate-configuration PUBLIC |
2 | <!DOCTYPE hibernate-configuration PUBLIC |
3 | "-//Hibernate/Hibernate Configuration DTD 2.0//EN" |
3 | "-//Hibernate/Hibernate Configuration DTD 2.0//EN" |
4 | "http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd"> |
4 | "http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd"> |
5 | 5 | ||
6 | <hibernate-configuration> |
6 | <hibernate-configuration> |
7 | <session-factory |
7 | <session-factory |
8 | name="java:comp/env/hibernate/SessionFactory"> |
8 | name="java:comp/env/hibernate/SessionFactory"> |
9 | 9 | ||
10 | <!-- properties --> |
10 | <!-- properties --> |
11 | <property name="connection.driver_class">org.postgresql.Driver</property> |
11 | <property name="connection.driver_class">org.postgresql.Driver</property> |
12 | <property name="connection.username">user</property> |
12 | <property name="connection.username">user</property> |
13 | <property name="connection.password">password</property> |
13 | <property name="connection.password">password</property> |
14 | <property name="connection.url">jdbc:postgresql://localhost/kickup</property> |
14 | <property name="connection.url">jdbc:postgresql://localhost/kickup</property> |
15 | 15 | ||
16 | <property name="dialect">net.sf.hibernate.dialect.PostgreSQLDialect</property> |
16 | <property name="dialect">net.sf.hibernate.dialect.PostgreSQLDialect</property> |
17 | <property name="show_sql">false</property> |
17 | <property name="show_sql">false</property> |
- | 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> |
|
18 | </session-factory> |
30 | </session-factory> |
19 | </hibernate-configuration> |
31 | </hibernate-configuration> |