Package org.utplsql.api.db
Interface DatabaseInformation
-
- All Known Implementing Classes:
DefaultDatabaseInformation
public interface DatabaseInformationAbstraction-interface to encapsulate Database-Calls (and potentially mock them)- Author:
- pesse
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intframeworkCompatibilityCheck(Connection conn, String requested, String current)StringgetCurrentSchema(Connection conn)StringgetOracleVersion(Connection conn)VersiongetUtPlsqlFrameworkVersion(Connection conn)
-
-
-
Method Detail
-
getUtPlsqlFrameworkVersion
Version getUtPlsqlFrameworkVersion(Connection conn) throws SQLException
- Throws:
SQLException
-
getOracleVersion
String getOracleVersion(Connection conn) throws SQLException
- Throws:
SQLException
-
getCurrentSchema
String getCurrentSchema(Connection conn) throws SQLException
- Throws:
SQLException
-
frameworkCompatibilityCheck
int frameworkCompatibilityCheck(Connection conn, String requested, @Nullable String current) throws SQLException
- Throws:
SQLException
-
-