Rev 900 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 900 | Rev 924 | ||
---|---|---|---|
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/hostcaptain</property> |
14 | <property name="connection.url">jdbc:postgresql://localhost/hostadmiral</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 | </session-factory> |
18 | </session-factory> |
19 | </hibernate-configuration> |
19 | </hibernate-configuration> |