Package-level declarations

Types

Link copied to clipboard
internal class OctaviusConnection(val stream: PgStream, val registryKey: RegistryKey, maxParameterWriterCapacity: Int?, initialParameterWriterCapacity: Int?, logParameterValues: Boolean) : Connection

Represents a connection to a database within the Octavius Framework. It implements the standard JDBC Connection interface but overrides certain behaviors to fit the framework's architecture.

Link copied to clipboard

Factory object responsible for establishing physical connections to a PostgreSQL database.

Link copied to clipboard

Implementation of the standard JDBC DataSource interface for the Octavius driver.

Link copied to clipboard
internal class OctaviusDriver : Driver

The main entry point for the JDBC API into the Octavius driver.

Link copied to clipboard
internal class OctaviusStatement(connection: OctaviusConnection) : Statement

A stub implementation of java.sql.Statement. It primarily exists to allow connection pools (such as HikariCP) to execute connectionInitSql or connectionTestQuery using standard JDBC calls.

Functions

Link copied to clipboard

Establishes a new OctaviusSession using the specified properties.

Establishes a new OctaviusSession using the specified url and properties properties.

Establishes a new OctaviusSession using the specified url, user, and password.

Link copied to clipboard

Retrieves a new OctaviusSession from this DataSource.

Retrieves a new OctaviusSession from this Connection.

Retrieves a new OctaviusSession from this DataSource using the specified credentials.

Link copied to clipboard
inline fun <T : Any> Connection.unwrap(): T

Unwraps this Connection to an instance of the specified type T.

inline fun <T> DataSource.unwrap(): T

Unwraps this DataSource to an instance of the specified type T.

Link copied to clipboard

Unwraps this DataSource to its underlying OctaviusDataSource instance.