java.lang.Object | |
↳ | com.atlassian.jira.config.database.DatabaseConfig |
The configuration for JIRA to connect to the database.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | DEFAULT_DATASOURCE_NAME | The name of the default JNDI datasource. | |||||||||
String | DEFAULT_DELEGATOR_NAME | The name of the default delegator. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Uses defaults for OfBiz Datasource name and Delegator name.
| |||||||||||
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the database type
| |||||||||||
Get the datasource
| |||||||||||
Get the name of the data source.
| |||||||||||
Get the name of the delegate.
| |||||||||||
Get the schema name
| |||||||||||
Returns
true if this configuration is for an HSql database | |||||||||||
Returns
true if this configuration is for a MySQL database | |||||||||||
Returns
true if this configuration is for an Oracle database | |||||||||||
Returns
true if this configuration is for a Postgres database | |||||||||||
Returns
true if this configuration is for a SqlServer database | |||||||||||
Tests the connection using the given bootstrapManager.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The name of the default JNDI datasource. This is the one true place for this constant to live in JIRA. This should not be used by plugins or considered an API.
The name of the default delegator. There Is Only One. This is the one true place for this constant to live in JIRA. This should not be used by plugins or considered an API.
Uses defaults for OfBiz Datasource name and Delegator name.
databaseType | the name that matches the field types defined in entityengine.xml |
---|---|
schemaName | if the database needs it, the name of the schema. e.g. "public" is common in postgres. |
datasource | the definition of the jdbc or jndi details. |
Get the name of the data source. This is also known as the helperName in ofbiz.
BootstrapException |
---|
Returns true
if this configuration is for an HSql database
true
if this configuration is for an HSql database
Returns true
if this configuration is for a MySQL database
true
if this configuration is for a MySQL database
Returns true
if this configuration is for an Oracle database
true
if this configuration is for an Oracle database
Returns true
if this configuration is for a Postgres database
true
if this configuration is for a Postgres database
Returns true
if this configuration is for a SqlServer database
true
if this configuration is for a SqlServer database
Tests the connection using the given bootstrapManager.
bootstrapManager | to use for testing the connection. |
---|
BootstrapException | on connection failure. |
---|