EvscConfig

class EvscConfig(val exposedConnectionConfig: ConnectionConfig.Socket, val vertxSqlClientConnectionConfig: ConnectionConfig) : IEvscConfig(source)

Note that this API is experimental and subject to change.

Default implementation of IEvscConfig that serves as the single source of truth for database connection configuration.

For simple setups where both Exposed and Vert.x use the same TCP socket connection, use ConnectionConfig.Socket.toUniversalEvscConfig.

For optimized setups on Linux, you can configure Exposed to use a socket connection (for JDBC compatibility) while Vert.x uses a Unix domain socket for better performance.

Parameters

exposedConnectionConfig

the socket connection config for Exposed SQL generation.

vertxSqlClientConnectionConfig

the connection config for Vert.x SQL Client execution.

Constructors

Link copied to clipboard
constructor(exposedConnectionConfig: ConnectionConfig.Socket, vertxSqlClientConnectionConfig: ConnectionConfig)

Properties