public interface DatabaseVerifier
| Modifier and Type | Method and Description |
|---|---|
void |
verifyDatabaseDetails(String databaseType,
com.atlassian.config.db.DatabaseDetails databaseDetails)
Validates the given connection details by checking whether a connection can be returned, next checking
the collation for MS SQL Server and MySQL.
|
void |
verifyDatasource(String databaseType,
String datasourceName)
Validates the given datasource by checking whether a connection can be returned, next checking
the collation for MS SQL Server and MySQL.
|
void verifyDatasource(String databaseType, String datasourceName) throws SQLException, DatabaseVerifyException
databaseType - - the database type, such as mssqldatasourceName - - the JNDI datasource name input by customer at database setup stageDatabaseVerifyException - - indicates the database was not configured successfully.SQLException - - indicates the connection could not be created with the provided detailsvoid verifyDatabaseDetails(String databaseType, com.atlassian.config.db.DatabaseDetails databaseDetails) throws SQLException, DatabaseVerifyException
databaseType - - the database type, such as mssqldatabaseDetails - - the connection details input by customer at database setup stageDatabaseVerifyException - - indicates the database was not configured successfully using the provided detailsSQLException - - indicates the connection could not be created with the provided detailsDatabaseDetailsCopyright © 2003–2017 Atlassian. All rights reserved.