Uses of Record Class
org.litebridge.db.spi.sql.PreparedSql
Packages that use PreparedSql
Package
Description
Service Provider Interface (SPI) for integrating database drivers with Litebridge
Abstract implementation classes for the Litebridge Database SPI.
Fluent API for constructing SQL queries (
SELECT statements)Common implementation classes for select operations.
Core common ORM API function services.
Persistence subsystem; contains classes for saving/updating/deleting DTOs
-
Uses of PreparedSql in org.litebridge.db.spi
Methods in org.litebridge.db.spi with parameters of type PreparedSqlModifier and TypeMethodDescriptionDatabaseProvider.executeQuery(PreparedSql preparedSql, ConnectionProvider connectionProvider) Executes a SELECT operation in the database using a pre-preparedPreparedSqlobject.<T extends Result>
TDatabaseProvider.executeUpdate(PreparedSql preparedSql, Class<T> resultType, ConnectionProvider connectionProvider) Execute a modifying SQL operation in the database using the provided statement.Method parameters in org.litebridge.db.spi with type arguments of type PreparedSqlModifier and TypeMethodDescriptionDatabaseProvider.executeBatch(List<PreparedSql> preparedSqls, ConnectionProvider connectionProvider) Execute a batch of modifying SQL operations in the database using the provided statement. -
Uses of PreparedSql in org.litebridge.db.spi.impl
Methods in org.litebridge.db.spi.impl with parameters of type PreparedSqlModifier and TypeMethodDescriptionAbstractDatabaseProvider.executeQuery(PreparedSql preparedSql, ConnectionProvider connectionProvider) <T extends Result>
TAbstractDatabaseProvider.executeUpdate(PreparedSql preparedSql, Class<T> resultType, ConnectionProvider connectionProvider) Method parameters in org.litebridge.db.spi.impl with type arguments of type PreparedSqlModifier and TypeMethodDescriptionAbstractDatabaseProvider.executeBatch(List<PreparedSql> preparedSqls, ConnectionProvider connectionProvider) -
Uses of PreparedSql in org.litebridge.db.spi.impl.engine
Methods in org.litebridge.db.spi.impl.engine with parameters of type PreparedSqlModifier and TypeMethodDescriptionExecutionEngine.executeInsert(PreparedSql preparedSql, ConnectionProvider connectionProvider) Execute a SQL INSERT operation using the provided prepared SQL statement and table metadata.ExecutionEngine.executeQuery(PreparedSql preparedSql, ConnectionProvider connectionProvider) Executes a SELECT operation in the database using a pre-preparedPreparedSqlobject.ExecutionEngine.executeUpdate(PreparedSql preparedSql, ConnectionProvider connectionProvider) Execute a SQL UPDATE operation using the provided prepared SQL statement and table metadata.protected PreparedStatementExecutionEngineReturnedKeysAuto.prepareJdbcStatementReturnGeneratedKeys(UpdateMetaData updateMetaData, PreparedSql preparedSql, ManagedConnection connection) protected PreparedStatementExecutionEngineReturnedKeysNamed.prepareJdbcStatementReturnGeneratedKeys(UpdateMetaData updateMetaData, PreparedSql preparedSql, ManagedConnection connection) Method parameters in org.litebridge.db.spi.impl.engine with type arguments of type PreparedSqlModifier and TypeMethodDescriptionExecutionEngine.executeBatch(List<PreparedSql> preparedSqls, ConnectionProvider connectionProvider) Execute a batch of modifying SQL operations in the database using the provided statement. -
Uses of PreparedSql in org.litebridge.orm.api.select
Methods in org.litebridge.orm.api.select that return PreparedSqlModifier and TypeMethodDescriptionSelectTerminal.toSql()Generates SQL for the query without executing it. -
Uses of PreparedSql in org.litebridge.orm.api.select.impl
Methods in org.litebridge.orm.api.select.impl that return PreparedSql -
Uses of PreparedSql in org.litebridge.orm.engine
Methods in org.litebridge.orm.engine that return PreparedSqlModifier and TypeMethodDescriptionSelectEngineTerminal.generateSql(QueryNode node, LitebridgeContext litebridgeContext) Generates SQL for the query without executing it.QueryPlanCache.CachedOperation.preparedSql(List<@Nullable Object> rawBindValues) Creates aPreparedSqlinstance populated with the supplied runtime bind values. -
Uses of PreparedSql in org.litebridge.orm.persistence
Methods in org.litebridge.orm.persistence with parameters of type PreparedSqlModifier and TypeMethodDescriptionTransactionalDatabaseProvider.executeQuery(PreparedSql preparedSql, ConnectionProvider connectionProvider) <T extends Result>
TTransactionalDatabaseProvider.executeUpdate(PreparedSql preparedSql, Class<T> resultType, ConnectionProvider connectionProvider) Method parameters in org.litebridge.orm.persistence with type arguments of type PreparedSqlModifier and TypeMethodDescriptionTransactionalDatabaseProvider.executeBatch(List<PreparedSql> preparedSql, ConnectionProvider connectionProvider)