Package org.utplsql.api.db
Class DefaultDatabaseInformation
- java.lang.Object
-
- org.utplsql.api.db.DefaultDatabaseInformation
-
- All Implemented Interfaces:
DatabaseInformation
public class DefaultDatabaseInformation extends Object implements DatabaseInformation
-
-
Constructor Summary
Constructors Constructor Description DefaultDatabaseInformation()
-
Method Summary
All Methods Instance Methods Concrete 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
public Version getUtPlsqlFrameworkVersion(Connection conn) throws SQLException
- Specified by:
getUtPlsqlFrameworkVersionin interfaceDatabaseInformation- Throws:
SQLException
-
getOracleVersion
public String getOracleVersion(Connection conn) throws SQLException
- Specified by:
getOracleVersionin interfaceDatabaseInformation- Throws:
SQLException
-
getCurrentSchema
public String getCurrentSchema(Connection conn) throws SQLException
- Specified by:
getCurrentSchemain interfaceDatabaseInformation- Throws:
SQLException
-
frameworkCompatibilityCheck
public int frameworkCompatibilityCheck(Connection conn, String requested, @Nullable String current) throws SQLException
- Specified by:
frameworkCompatibilityCheckin interfaceDatabaseInformation- Throws:
SQLException
-
-