ParametrizedQueryFactory

Factory for ParametrizedQuery.

A parametrized query is only used if any of these conditions is met:

Usage

Register your instance as a service with @BService or any annotation that enables your class for dependency injection.

Built-in RDBMS support

  • PostgreSQL

If no compatible factory is found, a generic parametrized query is used.

See also

Functions

Link copied to clipboard
abstract fun get(preparedStatement: PreparedStatement, sql: String): R

Returns a ParametrizedQuery for this statement.

Link copied to clipboard
abstract fun isSupported(connection: Connection, databaseMetaData: DatabaseMetaData): Boolean

Returns whether this connection is supported by this parametrized query factory.