$database

Object representing a database defined in the 'databases.dbcfg' file


Since : 2.1.0

Attributes and methods
.catalog : String

Returns the CATALOG to be used to retrieve the meta-data

.dialect : String

Returns the 'dialect' of the database. Can be used to identify the Hibernate dialect class
(e.g. 'org.hibernate.dialect.MySQLDialect', etc)

.driverClass : String

Returns the JDBC driver class to be used to establish a JDBC connection

.id : int

Returns the database id

.isolationLevel : String

Returns the isolation level

.jdbcUrl : String

Returns the URL to be used to establish a JDBC connection

.name : String

Returns the database name

.password : String

Returns the PASSWORD to be used to establish a JDBC connection

.poolSize : int

Returns the pool size

.schema : String

Returns the SCHEMA to be used to retrieve the meta-data

.type : String

Returns the type name. Usually used to identify the type/vendor of the database
(e.g. 'DERBY', 'MYSQL', 'ORACLE', etc)

.user : String

Returns the USER to be used to establish a JDBC connection