RE: .properties file
"Matt Raible" <[email protected]> Sat, 5 Apr 2003 11:00:04 -0700
| Newsgroups | gmane.comp.java.mvc.devel |
|---|---|
| Message-ID | <[email protected]> |
> Matt, > > Can you please send the database.properties and build.properties files? > The ...samples did not ship > > Thank you > Santhi See attached. Sorry about that. Matt
build.properties
(text/plain, 727 B)
# build.compiler - seems to be issues using jikes and JDK 1.4 is just as fast
build.compiler=modern
# name of web application
webapp.name=appfuse-lab
webapp.version=0.7
# name of generated war file
webapp.war=${webapp.name}.war
# overrides value in build.xml for showing deprecation errors
compile.deprecation=true
build.dir=${basedir}/build
dist.dir=${basedir}/dist
test.dir=${build.dir}/test
javac.debug=true
junit.fork=true
xdoclet.force=false
# error messages mail settings
# for log4j.properties file (in web/WEB-INF/log4.properties).
[email protected]
error.mailHost=localhost
error.server=localhost
# ftp server properties
ftp.server=upload.sourceforge.net
ftp.remoteDir=incoming
ftp.user=mraible
database.properties
(text/plain, 4.6 KB)
# This file is used by hibernate to create the database and tables, and also # as the hibernate.properties file in your webapp. The only potential problem # I can see with this is that you might not want your webapp to connect to # the database with a user that has create rights. The initdb task requires # create rights to create the tables. # This values determine which script to load from metadata/sql, the user # must have GRANT privileges to create the database and create to load. database.type=mysql # This value is used to connect to the database to create the test database database.name=jdbc:mysql://localhost:3306/mysql ## JNDI Datasource #hibernate.connection.datasource jdbc/test #hibernate.connection.username db2 #hibernate.connection.password db2 ## PostgreSQL #hibernate.dialect cirrus.hibernate.sql.PostgreSQLDialect #hibernate.connection.driver_class org.postgresql.Driver #hibernate.connection.url jdbc:postgresql:template1 #hibernate.connection.username pg #hibernate.connection.password #hibernate.query.substitutions yes 'Y', no 'N' ## DB2 #hibernate.dialect cirrus.hibernate.sql.DB2Dialect #hibernate.connection.driver_class COM.ibm.db2.jdbc.app.DB2Driver #hibernate.connection.url jdbc:db2:test #hibernate.connection.username db2 #hibernate.connection.password db2 ## MySQL hibernate.dialect net.sf.hibernate.dialect.MySQLDialect hibernate.connection.driver_class = com.mysql.jdbc.Driver hibernate.connection.url = jdbc:mysql://localhost:3306/appfuse?autoReconnect=true hibernate.connection.username = root hibernate.connection.password = admin hibernate.connection.pool_size = 20 hibernate.statement_cache.size = 6 hibernate.show_sql = true ## Oracle #hibernate.dialect cirrus.hibernate.sql.OracleDialect #hibernate.connection.driver_class oracle.jdbc.driver.OracleDriver #hibernate.connection.username ora #hibernate.connection.password ora #hibernate.connection.url jdbc:oracle:thin:@localhost:1521:test ## Sybase #hibernate.dialect cirrus.hibernate.sql.SybaseDialect #hibernate.connection.driver_class com.sybase.jdbc2.jdbc.SybDriver #hibernate.connection.username sa #hibernate.connection.password sasasa #hibernate.connection.rl jdbc:sybase:Tds:co3061835-a:5000/tempdb ## HypersonicSQL #hibernate.dialect cirrus.hibernate.sql.HSQLDialect #hibernate.connection.driver_class org.hsqldb.jdbcDriver #hibernate.connection.username sa #hibernate.connection.password #hibernate.connection.url jdbc:hsqldb:hsql://localhost #hibernate.connection.url jdbc:hsqldb:test ## Mckoi SQL #hibernate.dialect cirrus.hibernate.sql.MckoiDialect #hibernate.connection.driver_class com.mckoi.JDBCDriver #hibernate.connection.url jdbc:mckoi:/// #hibernate.connection.url jdbc:mckoi:local://C:/mckoi0.94h/db.conf #hibernate.connection.username admin #hibernate.connection.password nimda ## SAP DB #hibernate.dialect cirrus.hibernate.sql.SAPDBDialect #hibernate.connection.driver_class com.sap.dbtech.jdbc.DriverSapDB #hibernate.connection.url jdbc:sapdb://localhost/TST #hibernate.connection.username TEST #hibernate.connection.password TEST #hibernate.query.substitutions yes 'Y', no 'N' ## MS SQL Server #hibernate.dialect cirrus.hibernate.sql.SybaseDialect #hibernate.connection.username sa #hibernate.connection.password ## JSQL Driver #hibernate.connection.driver_class com.jnetdirect.jsql.JSQLDriver #hibernate.connection.url jdbc:JSQLConnect://CO3061835-A:1433 ## JTURBO Driver #hibernate.connection.driver_class com.newatlanta.jturbo.driver.Driver #hibernate.connection.url jdbc:JTurbo://CO3061835-A:1433/master ## WebLogic Driver #hibernate.connection.driver_class weblogic.jdbc.mssqlserver4.Driver #hibernate.connection.url jdbc:weblogic:mssqlserver4:CO3061835-A:1433 ## Microsoft Driver (not supported!) #hibernate.connection.driver_class com.microsoft.jdbc.sqlserver.SQLServerDriver #hibernate.connection.url jdbc:microsoft:sqlserver://CO3061835-A:1433;SelectMethod=cursor ## Interbase #hibernate.dialect cirrus.hibernate.sql.InterbaseDialect #hibernate.connection.username sysdba #hibernate.connection.password masterkey ## DO NOT specify hibernate.connection.sqlDialect ## InterClient #hibernate.connection.driver_class interbase.interclient.Driver #hibernate.connection.url jdbc:interbase://localhost:3060/C:/firebird/test.gdb ## Pure Java #hibernate.connection.driver_class org.firebirdsql.jdbc.FBDriver #hibernate.connection.url jdbc:firebirdsql:localhost/3050:/firebird/test.gdb ## Pointbase #hibernate.dialect cirrus.hibernate.sql.PointbaseDialect #hibernate.connection.driver_class com.pointbase.jdbc.jdbcUniversalDriver #hibernate.connection.url jdbc:pointbase:embedded:sample #hibernate.connection.username PBPUBLIC #hibernate.connection.password PBPUBLIC