com.atlassian.jira.configurator.db
Class OracleDatabaseConfig
java.lang.Object
com.atlassian.jira.configurator.db.OracleDatabaseConfig
- All Implemented Interfaces:
- DatabaseConfig
public class OracleDatabaseConfig
- extends Object
- implements DatabaseConfig
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OracleDatabaseConfig
public OracleDatabaseConfig()
getDatabaseType
public String getDatabaseType()
- Specified by:
getDatabaseType
in interface DatabaseConfig
getInstanceFieldName
public String getInstanceFieldName()
- Description copied from interface:
DatabaseConfig
- 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".
- Specified by:
getInstanceFieldName
in interface DatabaseConfig
- Returns:
- name of the "Instance" field for this DB.
getClassName
public String getClassName()
- Specified by:
getClassName
in interface DatabaseConfig
getUrl
public String getUrl(String hostname,
String port,
String instance)
- Description copied from interface:
DatabaseConfig
- Returns the JDBC URL for this DB config.
- Specified by:
getUrl
in interface DatabaseConfig
- Parameters:
hostname
- the hostnameport
- the TCP/IP port numberinstance
- the DB "instance"
- Returns:
- the JDBC URL for this DB config.
parseUrl
public DatabaseInstance parseUrl(String jdbcUrl)
throws ParseException
- Specified by:
parseUrl
in interface DatabaseConfig
- Throws:
ParseException
Copyright © 2002-2012 Atlassian. All Rights Reserved.