← Back to Stormify Documentation

NativeKdbcDataSource

DataSource implementation that uses the unified kdbc C library. Created indirectly through KdbcDataSource (the public factory).

This DataSource does NOT pool connections — each getConnection call opens a fresh native connection. Connection pooling is the responsibility of a higher layer (see stormify.coroutines which provides a proper suspend-aware pool).

Functions

Link copied to clipboard
open override fun getConnection(): Connection

Opens and returns a new database connection. The caller is responsible for closing it.