/sun/hostcaptain/trunk/conf/log4j.properties |
---|
5,6 → 5,6 |
log4j.appender.stdout.layout.ConversionPattern=%d [%t] %-5p %c - %m%n |
log4j.logger.ak=debug |
log4j.logger.ak.webcontrol=debug |
log4j.logger.ak.hostcaptain=debug |
log4j.logger.net.sf.hibernate=error |
/sun/hostcaptain/trunk/conf/hibernate.cfg.xml |
---|
11,7 → 11,7 |
<property name="connection.driver_class">org.postgresql.Driver</property> |
<property name="connection.username">dbadmin</property> |
<property name="connection.password">krasota</property> |
<property name="connection.url">jdbc:postgresql://sun/webcontrol</property> |
<property name="connection.url">jdbc:postgresql://sun/hostcaptain</property> |
<property name="dialect">net.sf.hibernate.dialect.PostgreSQLDialect</property> |
<property name="show_sql">true</property> |
/sun/hostcaptain/trunk/conf/hibernate.cfg.xml.sample |
---|
0,0 → 1,19 |
<?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/hostcaptain</property> |
<property name="dialect">net.sf.hibernate.dialect.PostgreSQLDialect</property> |
<property name="show_sql">false</property> |
</session-factory> |
</hibernate-configuration> |