hibernate.cfg.xml
Die nachfolgenden Inhalte sind nur in englischer Sprache verfügbar.
This file is configured using XML syntax.
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 | |
|
| Applies to oracle users only, in the context of sql server, the term database schema has an entirely different meaning. | ||
|
| 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 |
Notes
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.