Java代码
# Application configuration properties file
### Database configuration properties ###
# Database user name
database.username=${database.username}
# Database user password
database.password=${database.password}
# Database URL (this parameter is specific to your database type)
# Examples:
# Firebird:
# jdbc:firebirdsql:127.0.0.1/3050:/firebird/db.gdb
# MS SQL:
# jdbc:jtds:sqlserver://127.0.0.1:1433/dealerportal;charset=Cp1251
# MySQL:
# jdbc:mysql://127.0.0.1/db?autoReconnect=true&sessionVariables=sql_mode='PIPES_AS_CONCAT'
# Oracle:
# jdbc:oracle:thin:@127.0.0.1:1521:db
# PostgreSQL:
# jdbc:postgresql://127.0.0.1:5432/db?charSet=KOI8
# Sybase:
# jdbc:sybase:Tds:127.0.0.1:2048?CHARSET=cp1251
database.url=${database.url}
# Database driver class (this parameter is specific to your database driver)
# Examples:
# Firebird:
# org.firebirdsql.jdbc.FBDriver
# MS SQL:
# net.sourceforge.jtds.jdbc.Driver
# MySQL:
# org.gjt.mm.mysql.Driver
# Oracle:
# oracle.jdbc.OracleDriver
# PostgreSQL:
# org.postgresql.Driver
# Sybase:
# com.sybase.jdbc2.jdbc.SybDriver
database.driver=${database.driver}
# Database dialect (use appropriate Hibernate dialect class from org.hibernate.dialect package)
# Examples:
# Firebird:
#
# MS SQL:
# org.hibernate.dialect.SQLServerDialect - MSSQL Server
# MySQL:
# org.hibernate.dialect.MySQLDialect - Generic MySQL
# org.hibernate.dialect.MySQLInnoDBDialect - MySQL InnoDB
# org.hibernate.dialect.MySQLMyISAMDialect - MySQL MyISA
# Oracle:
# org.hibernate.dialect.Oracle9Dialect - Oracle 9
# org.hibernate.dialect.OracleDialect - Generic Oracle (prior to 9)
# PostgreSQL:
# org.hibernate.dialect.PostgreSQLDialect
# Sybase:
# org.hibernate.dialect.Sybase11Dialect - Sybase 11
# org.hibernate.dialect.SybaseAnywhereDialect - Sybase Anywhere
# org.hibernate.dialect.SybaseDialect - Generic Sybase
database.dialect=${database.dialect}
# Show SQL queries (true/false)
database.show_sql=${database.show_sql}
# Minimum database connections pool size
database.pool.min_size=${database.pool.min_size}
# Maximum database connections pool size. Too small value may affect application performance
database.pool.max_size=${database.pool.max_size}
### Mail configuration properties ###
# SMTP host
mail.host=${mail.host}
# User login
mail.username=${mail.username}
# User password
mail.password=${mail.password}
### MarketerNet configuration properties ###
# Domain login
marketernet.domain.login=${marketernet.domain.login}
# Domain password
marketernet.domain.password=${marketernet.domain.password}
# Domain name
marketernet.domain.name=${marketernet.domain.name}
# Application login
marketernet.application.login=${marketernet.application.login}
# Application password
marketernet.application.password=${marketernet.application.password}
### News Grabber configuration properties ###
# News grabber target url
newsgrabber.target.url=${newsgrabber.target.url}
# News garbber repeat link times
newsgrabber.repeat.link.times=${newsgrabber.repeat.link.times}
# Task newsgrabber trigger cron
task.newsgrabber.cron=${task.newsgrabber.cron}