statement
The name for a Statement variable.
Configuration Options
Related Options
- action: The name of an action.
- batch: The name for a Batch variable.
- columnCount: The name for a ColumnCount variable.
- columnLabel: The name for a ColumnLabel variable.
- connection: The name for a Connection variable.
- dataSource: The name for a DataSource variable.
- databaseMetaData: The name for a DatabaseMetaData variable.
- databaseProductName: The name of the variable that holds the database product name.
- exception: The name of an exception.
- executedQuery: The name of SQL statement after parameter replacement.
- indexSuffix: The name suffix to add for index lookup tables.
- indexVariable: The name for a index variable.
- jdbcIndexVariable: The name for a JDBC index variable.
- list: The name for a List variable.
- logger: The name of the logger instance.
- query: The name of selected SQL statement.
- rawQuery: The name of SQL statement before parameter replacement.
- rawSuffix: The name suffix to add for raw SQL statements.
- resultSet: The name for a ResultSet variable.
- resultSetMetaData: The name for a ResultSetMetaData variable.
- row: The name for a row variable.
Tooling
Ant
In order to use YoSQL
together with Ant, take a look at the tooling documentation for Ant.
Bazel
In order to use YoSQL
together with Bazel, take a look at the tooling documentation for Bazel.
CLI
In order to use YoSQL
on the command line, take a look at the tooling documentation for CLI.
$ yosql --names-statement=configValue
As long as the name of the config option is unique across all configuration groups, you can use the shorter form:
$ yosql --statement=configValue
Gradle
In order to use YoSQL
together with Gradle, take a look at the tooling documentation for Gradle. The statement
setting can be configured using Gradle in Kotlin syntax like this:
plugins {
java
id("wtf.metio.yosql") version "2023.2.22"
}
yosql {
names {
statement.set(configValue)
}
}
or in Groovy syntax like this:
plugins {
id "java"
id "wtf.metio.yosql" version "2023.2.22"
}
yosql {
names {
statement = configValue
}
}
Maven
In order to use YoSQL
together with Maven, take a look at the tooling documentation for Maven. The statement
setting can be configured using Maven like this:
<build>
<plugins>
<plugin>
<groupId>wtf.metio.yosql</groupId>
<artifactId>yosql-tooling-maven</artifactId>
<version>2023.2.22</version>
<configuration>
<names>
<statement>configValue</statement>
</names>
</configuration>
</plugin>
</plugins>
</build>