Schnittstelle IDbQuery
- Alle Superschnittstellen:
AutoCloseable,ICloseable
- Alle bekannten Implementierungsklassen:
DbQuery
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidclose()Close this database query object and all dependentDbPreparedStatementandDbResultSetobjects.executeAndGetScalarBigDecimalValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).executeAndGetScalarBigDecimalValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).executeAndGetScalarBigDecimalValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).executeAndGetScalarBigDecimalValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).executeAndGetScalarBooleanValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).executeAndGetScalarBooleanValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).executeAndGetScalarBooleanValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).executeAndGetScalarBooleanValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).executeAndGetScalarByteValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).executeAndGetScalarByteValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).executeAndGetScalarByteValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).executeAndGetScalarByteValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).executeAndGetScalarDateValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).executeAndGetScalarDateValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).executeAndGetScalarDateValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).executeAndGetScalarDateValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).executeAndGetScalarDoubleValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).executeAndGetScalarDoubleValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).executeAndGetScalarDoubleValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).executeAndGetScalarDoubleValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).executeAndGetScalarFloatValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).executeAndGetScalarFloatValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).executeAndGetScalarFloatValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).executeAndGetScalarFloatValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).executeAndGetScalarIntValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).executeAndGetScalarIntValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).executeAndGetScalarIntValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).executeAndGetScalarIntValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).executeAndGetScalarLongValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).executeAndGetScalarLongValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).executeAndGetScalarLongValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).executeAndGetScalarLongValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).executeAndGetScalarShortValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).executeAndGetScalarShortValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).executeAndGetScalarShortValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).executeAndGetScalarShortValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).executeAndGetScalarStringValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).executeAndGetScalarStringValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).executeAndGetScalarStringValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).executeAndGetScalarStringValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).executeAndGetScalarTimestampValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).executeAndGetScalarTimestampValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).executeAndGetScalarTimestampValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).executeAndGetScalarTimestampValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).executeAndGetScalarTimeValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).executeAndGetScalarTimeValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).executeAndGetScalarTimeValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).executeAndGetScalarTimeValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).executeAndGetScalarValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) Get the value of the first column in the first row of the result set.executeAndGetScalarValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) Get the value of the first column in the first row of the result set.executeAndGetScalarValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) Get the value of the first column in the first row of the result set.executeAndGetScalarValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) Get the value of the first column in the first row of the result set.IValueHolder<?> executeAndGetScalarValueHolder(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) Get the value of the first column in the first row of the result set.intexecuteUpdate(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) Execute anINSERTorUPDATEstatement.intexecuteUpdate(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) Execute a preparedINSERTorUPDATEstatement.intGet the default fetch size.Prepares a statement.prepareWithStatement(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) Creates aIDbPreparedStatementand evaluates the given closure with it as parameter and its delegate.voidsetDefaultFetchSize(int p_iDefaultFetchSize) Set the default fetch size for prepared statements.
-
Methodendetails
-
getDefaultFetchSize
int getDefaultFetchSize()Get the default fetch size.- Gibt zurück:
- The default fetch size.
-
setDefaultFetchSize
void setDefaultFetchSize(int p_iDefaultFetchSize) Set the default fetch size for prepared statements.- Parameter:
p_iDefaultFetchSize- The default fetch size.
-
executeAndGetScalarValueHolder
IValueHolder<?> executeAndGetScalarValueHolder(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) throws SQLException Get the value of the first column in the first row of the result set.If the result set is empty,
nullis returned.- Gibt zurück:
- A value holder that contains the value of the first column in the first
row of the result set, or
nullif the result set is empty. - Löst aus:
SQLException- If a database error occurred.
-
executeAndGetScalarValue
Object executeAndGetScalarValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) throws SQLException Get the value of the first column in the first row of the result set.If the result set is empty, or the value is
null,p_valueIfNullis returned.Note: The type of the result depends on the database column's datatype. To coerce the result to a specific type use the respective
executeAndGetScalarValueXxxmethods.- Parameter:
p_conn- The database connection to be used.p_strQuery- The query.p_valueFallback- The return value if the query returns an empty result set, ornull.- Gibt zurück:
- The value of the first column in the first row of the result set,
or
p_valueIfNullif the result set is empty, or the value isnull. - Löst aus:
SQLException- If a database error occurred.
-
executeAndGetScalarValue
Object executeAndGetScalarValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) throws SQLException Get the value of the first column in the first row of the result set.If the result set is empty,
nullis returned.Note: The type of the result depends on the database column's datatype. To coerce the result to a specific type use the respective
executeAndGetScalarValueXxxmethods.- Gibt zurück:
- The value of the first column in the first row of the result set,
or
nullif the result set is empty. - Löst aus:
SQLException- If a database error occurred.
-
executeAndGetScalarValue
Object executeAndGetScalarValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) throws SQLException Get the value of the first column in the first row of the result set.If the result set is empty or the value is
null,p_valueIfNullis returned.Note: The type of the result depends on the database column's datatype. To coerce the result to a specific type use the respective
executeAndGetScalarValueXxxmethods.- Parameter:
p_conn- The database connection to be used.p_strQuery- The query.p_valueFallback- The return value if the query returns an empty result set, ornull.p_closure- The closure that prepares the statement.- Gibt zurück:
- The value of the first column in the first row of the result set,
or
p_valueIfNullif the result set is empty or the value isnull. - Löst aus:
SQLException- If a database error occurred.
-
executeAndGetScalarValue
Object executeAndGetScalarValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) throws SQLException Get the value of the first column in the first row of the result set.If the result set is empty or the value is
null,p_valueIfNullis returned.Note: The type of the result depends on the database column's datatype. To coerce the result to a specific type use the respective
executeAndGetScalarValueXxxmethods.- Parameter:
p_conn- The database connection to be used.p_strQuery- The query.p_closure- The closure that prepares the statement.- Gibt zurück:
- The value of the first column in the first row of the result set,
or
p_valueIfNullif the result set is empty or the value isnull. - Löst aus:
SQLException- If a database error occurred.
-
executeAndGetScalarBooleanValue
Boolean executeAndGetScalarBooleanValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarBooleanValue
Boolean executeAndGetScalarBooleanValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarBooleanValue
Boolean executeAndGetScalarBooleanValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarBooleanValue
Boolean executeAndGetScalarBooleanValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarByteValue
Byte executeAndGetScalarByteValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarByteValue
Byte executeAndGetScalarByteValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarByteValue
Byte executeAndGetScalarByteValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarByteValue
Byte executeAndGetScalarByteValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarShortValue
Short executeAndGetScalarShortValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarShortValue
Short executeAndGetScalarShortValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarShortValue
Short executeAndGetScalarShortValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarShortValue
Short executeAndGetScalarShortValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarIntValue
Integer executeAndGetScalarIntValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarIntValue
Integer executeAndGetScalarIntValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarIntValue
Integer executeAndGetScalarIntValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarIntValue
Integer executeAndGetScalarIntValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarLongValue
Long executeAndGetScalarLongValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarLongValue
Long executeAndGetScalarLongValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarLongValue
Long executeAndGetScalarLongValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarLongValue
Long executeAndGetScalarLongValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarFloatValue
Float executeAndGetScalarFloatValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarFloatValue
Float executeAndGetScalarFloatValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarFloatValue
Float executeAndGetScalarFloatValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarFloatValue
Float executeAndGetScalarFloatValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarDoubleValue
Double executeAndGetScalarDoubleValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarDoubleValue
Double executeAndGetScalarDoubleValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarDoubleValue
Double executeAndGetScalarDoubleValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarDoubleValue
Double executeAndGetScalarDoubleValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarBigDecimalValue
BigDecimal executeAndGetScalarBigDecimalValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarBigDecimalValue
BigDecimal executeAndGetScalarBigDecimalValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarBigDecimalValue
BigDecimal executeAndGetScalarBigDecimalValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarBigDecimalValue
BigDecimal executeAndGetScalarBigDecimalValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarStringValue
String executeAndGetScalarStringValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarStringValue
String executeAndGetScalarStringValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarStringValue
String executeAndGetScalarStringValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarStringValue
String executeAndGetScalarStringValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarTimestampValue
Timestamp executeAndGetScalarTimestampValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarTimestampValue
Timestamp executeAndGetScalarTimestampValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarTimestampValue
Timestamp executeAndGetScalarTimestampValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarTimestampValue
Timestamp executeAndGetScalarTimestampValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarDateValue
Date executeAndGetScalarDateValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarDateValue
Date executeAndGetScalarDateValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarDateValue
Date executeAndGetScalarDateValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarDateValue
Date executeAndGetScalarDateValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarTimeValue
Date executeAndGetScalarTimeValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarTimeValue
Date executeAndGetScalarTimeValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarTimeValue
Date executeAndGetScalarTimeValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, Object p_valueFallback, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Object, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeAndGetScalarTimeValue
Date executeAndGetScalarTimeValue(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) throws SQLException, ValueCastException Typed version ofexecuteAndGetScalarValue(JdbcConnection, String, Closure).- Löst aus:
SQLException- If a database error occurred.ValueCastException- If the database value could not be cast to the specific type.- Siehe auch:
-
executeUpdate
Execute anINSERTorUPDATEstatement.- Parameter:
p_conn- The database connection to be used.p_strQuery- The SQL statement to be executed.- Gibt zurück:
- The number of affected rows in the database, or
0. - Löst aus:
SQLException
-
executeUpdate
int executeUpdate(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) throws SQLException Execute a preparedINSERTorUPDATEstatement.- Parameter:
p_conn- The database connection to be used.p_strQuery- The (prepared) SQL statement to be executed.p_closure- The closure that prepares the statement.- Gibt zurück:
- The number of affected rows in the database, or
0. - Löst aus:
SQLException
-
prepare
DbPreparedStatement prepare(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery) throws SQLException Prepares a statement.- Parameter:
p_conn- The database connection to be used.p_strQuery- The (parameterized) SQL query.- Gibt zurück:
- A prepared statement object.
- Löst aus:
SQLException- If a database error occurred.
-
prepareWithStatement
Object prepareWithStatement(de.uplanet.jdbc.JdbcConnection p_conn, String p_strQuery, groovy.lang.Closure<?> p_closure) throws SQLException Creates aIDbPreparedStatementand evaluates the given closure with it as parameter and its delegate.- Parameter:
p_conn- The database connection to be used.p_strQuery- The (parameterized) SQL query.p_closure- The closure that prepares and executes the statement.- Gibt zurück:
- The return value of the given closure.
- Löst aus:
SQLException- If a database error occurred.- Seit:
- Intrexx 12.2.0.
-
close
Close this database query object and all dependentDbPreparedStatementandDbResultSetobjects.- Angegeben von:
closein SchnittstelleAutoCloseable- Löst aus:
SQLException- If a database error occurred.
-