Interface RelationalDriver
-
- All Superinterfaces:
java.sql.Driver
public interface RelationalDriver extends java.sql.Driver
A Driver which is used to connect to a Relational Database.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RelationalConnection
connect(java.net.URI url)
RelationalConnection
connect(java.net.URI url, Options connectionOptions)
default int
getMajorVersion()
default int
getMinorVersion()
default java.util.logging.Logger
getParentLogger()
default java.sql.DriverPropertyInfo[]
getPropertyInfo(java.lang.String url, java.util.Properties info)
default boolean
jdbcCompliant()
-
-
-
Method Detail
-
connect
default RelationalConnection connect(@Nonnull java.net.URI url) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
connect
RelationalConnection connect(@Nonnull java.net.URI url, @Nonnull Options connectionOptions) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getMajorVersion
default int getMajorVersion()
- Specified by:
getMajorVersion
in interfacejava.sql.Driver
-
getMinorVersion
default int getMinorVersion()
- Specified by:
getMinorVersion
in interfacejava.sql.Driver
-
getPropertyInfo
default java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url, java.util.Properties info) throws java.sql.SQLException
- Specified by:
getPropertyInfo
in interfacejava.sql.Driver
- Throws:
java.sql.SQLException
-
jdbcCompliant
default boolean jdbcCompliant()
- Specified by:
jdbcCompliant
in interfacejava.sql.Driver
-
getParentLogger
default java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException
- Specified by:
getParentLogger
in interfacejava.sql.Driver
- Throws:
java.sql.SQLFeatureNotSupportedException
-
-