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}