public class SqlServerPreparedStatement extends SqlServerStatementBase implements PreparedStatement:
SQL Server prepared statement implementation.
import klyn.databases.sql.sqlserver
prepared = connection.prepared("SELECT * FROM users WHERE id = ?")
prepared.bindInt(1, 42)
rows = prepared.query()| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | parameterInfoparameterInfo as ParameterMetaData: |
No summary. |
| public readonly property | parameterMetadataparameterMetadata as ParameterMetaData: |
No summary. |
| public readonly property | parameters | No summary. |
| public readonly property | sqlsql as String: |
No summary. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | clearParametersclearParameters() as Void: |
No summary. |
| public | executeexecute() as Boolean throws SQLException: |
Configures or executes a SQL statement. |
| public | executeexecute(sql as String) as Boolean throws SQLException: |
Configures or executes a SQL statement. |
| public | executeQueryexecuteQuery(sql as String) as ResultSet throws SQLException: |
Configures or executes a SQL statement. |
| public | executeUpdateexecuteUpdate(sql as String) as Int throws SQLException: |
Configures or executes a SQL statement. |
| public | queryquery() as ResultSet throws SQLException: |
Configures or executes a SQL statement. |
| public | setset(index as Int, value as Object) as PreparedStatement throws SQLException: |
Configures or executes a SQL statement. |
| public | setBooleansetBoolean(index as Int, value as Boolean) as PreparedStatement throws SQLException: |
Configures or executes a SQL statement. |
| public | setDoublesetDouble(index as Int, value as Double) as PreparedStatement throws SQLException: |
Configures or executes a SQL statement. |
| public | setIntsetInt(index as Int, value as Int) as PreparedStatement throws SQLException: |
Configures or executes a SQL statement. |
| public | setLongsetLong(index as Int, value as Long) as PreparedStatement throws SQLException: |
Configures or executes a SQL statement. |
| public | setNullsetNull(index as Int, sqlType as Int = Types.NULL) as PreparedStatement throws SQLException: |
Configures or executes a SQL statement. |
| public | setStringsetString(index as Int, value as String) as PreparedStatement throws SQLException: |
Configures or executes a SQL statement. |
| public | updateupdate() as Long throws SQLException: |
Configures or executes a SQL statement. |