com.atlassian.jira.configurator.db
Class SqlServerDatabaseConfig
java.lang.Object
com.atlassian.jira.configurator.db.SqlServerDatabaseConfig
- All Implemented Interfaces:
- DatabaseConfig
public class SqlServerDatabaseConfig
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlServerDatabaseConfig
public SqlServerDatabaseConfig()
getDatabaseType
public String getDatabaseType()
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".
- Returns:
- name of the "Instance" field for this DB.
getDisplayName
public String getDisplayName()
getClassName
public String getClassName()
getUrl
public String getUrl(String hostname,
String port,
String instance)
- Description copied from interface:
DatabaseConfig
- Returns the JDBC URL for this DB config.
- 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
- Throws:
ParseException
getProtocolPrefix
protected String getProtocolPrefix()
throws ParseException
- Throws:
ParseException
removeProtocolPrefix
protected String removeProtocolPrefix(String jdbcUrl)
throws ParseException
- Throws:
ParseException
Copyright © 2002-2013 Atlassian. All Rights Reserved.