|
|
|
|
File: [Development] / mygrid / MIR / config / hibernate.properties
(download)
Revision: 1.3, Thu Dec 2 10:59:26 2004 UTC (5 years, 9 months ago) by sharmann Branch: MAIN CVS Tags: v0_3_19, v0_3_18, v0_3_17, v0_3_16, v0_3_15, v0_3_14, v0_3_13, MIRv0_3, HEAD Changes since 1.2: +39 -20 lines Changes to aid deployment & configuration from WAR file. |
# This property file configures Hibernate to support the myGrid Information # Repository ## -------------------------------------------------------------------------- ## Connecting to a MySQL database # The MIR has only been tested with MySQL. We do not recommend # changing the dialect or driver name. # hibernate.dialect net.sf.hibernate.dialect.MySQLDialect hibernate.connection.driver_class org.gjt.mm.mysql.Driver # This URL assumes that MySQL is running on the same machine as the MIR # at its default port. You may need to change this. # hibernate.connection.url jdbc:mysql://localhost:3306/mygrid_mir # The MySQL username & password to be used for the MIR. Edit these values # to match your installation. # hibernate.connection.username user hibernate.connection.password password ## -------------------------------------------------------------------------- ## Other Hibernate properties. You should not need to change these # Mapping from tokens in Hibernate queries to SQL tokens; # Tokens might be # function or literal names, for example. # hibernate.query.substitutions true 1, false 0, yes 'Y', no 'N' # A non-zero value enables use of JDBC2 batch updates by Hibernate. # hibernate.jdbc.batch_size=0 # Maximum number of pooled connections # hibernate.connection.pool_size 1 ## Uncomment the following lines if you want to use c3p0 connection pooling # #hibernate.c3p0.min_size=5 #hibernate.c3p0.max_size=50 #hibernate.c3p0.timeout=1800 #hibernate.c3p0.max_statements=50
| Rich Cawley |
Powered by ViewCVS 0.9.2 |