public class

OracleDatabaseConfig

extends Object
implements DatabaseConfig
java.lang.Object
   ↳ com.atlassian.jira.configurator.db.OracleDatabaseConfig

Summary

Public Constructors
OracleDatabaseConfig()
Public Methods
String getClassName()
String getDatabaseType()
String getInstanceFieldName()
The name of the "Instance" field for this DB.
String getUrl(String hostname, String port, String instance)
Returns the JDBC URL for this DB config.
DatabaseInstance parseUrl(String jdbcUrl)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.configurator.db.DatabaseConfig

Public Constructors

public OracleDatabaseConfig ()

Public Methods

public String getClassName ()

public String getDatabaseType ()

public String getInstanceFieldName ()

The name of the "Instance" field for this DB. eg for Oracle it is "SID", while for MySQL and PostgreSQL it is "Database" and for MS-SQL it is "Instance".

Returns
  • name of the "Instance" field for this DB.

public String getUrl (String hostname, String port, String instance)

Returns the JDBC URL for this DB config.

Parameters
hostname the hostname
port the TCP/IP port number
instance the DB "instance"
Returns
  • the JDBC URL for this DB config.

public DatabaseInstance parseUrl (String jdbcUrl)