hibernate.cfg.xml
Parameters | Example value or | Description | Available from | |
|---|---|---|---|---|
as variable name in the config file | as environment variable with |
|
|
|
|
| de.planta.server.hibernate.dialect.Oracle10gDialect | Configures Oracle or MSSQL sql dialect | S 39.5.34 |
|
| oracle.jdbc.driver.OracleDriver | Configures the JDBC driver | |
|
| URL with SID: jdbc:oracle:thin:@$db.server:$db.oracle.port:$db.name | DB connection URL - configured via installer | |
|
| USER_123 | Username used for connecting to the DB | |
|
| gE_he1M | Password used for connecting to the DB | |
|
| Error rendering macro 'fontawesome-macro' : Page loading failed Applies to oracle users only, in the context of sql server, the term database schema has an entirely different meaning. Required if the oracle user name deviates from the schema name to be used. | ||
|
| 32 - 8192 | Number of lines that will be transfered for reading | |
|
| 8 - 64 | Number of lines that will be transfered for writing | |
Connection testing |
| Values | Description |
|
|
| false | Tests a connection before it is used | |
|
| false | Tests a connection after it was used | |
|
| 300 | Period after which an idle connection is tested | |
All other parameters are not described here.
The connection testing options should be used with care because of their performance impact.
In most cases, no manual changes should be required, as the Installer sets all values based on queried information.
For configuration of the connection pooling, see the c3p0 documentation.