Query
abstract class Query<T : Query<T>>(val sql: String, val queryExecutor: QueryExecutor, val typeManager: TypeManager)
Base class for executing queries with parameters.
This class provides the foundational state and utilities needed for managing type conversion registries and mappings localized to a single query instance.
A converter registered here is consulted before the session's and is discarded with the query, which is what makes a one-off mapping possible without disturbing anything else on the connection.
Type Parameters
T
The concrete type of the query (used for fluent API return types).
Inheritors
Properties
Functions
Link copied to clipboard
Pins the catalog this execution will read, and builds the mappers over it.
Link copied to clipboard
Registers a ParameterConverter for this query only, ahead of any the session already holds.
Link copied to clipboard
Registers a ResultConverter for this query only, ahead of any the session already holds.