Package de.uplanet.lucy.server.util.db
Interface IDbPreparedStatement
-
- All Superinterfaces:
AutoCloseable
,ICloseable
- All Known Implementing Classes:
DbPreparedStatement
public interface IDbPreparedStatement extends ICloseable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Close this statement.void
execute()
Executes the SQL statement in this object, which may be any kind of SQL statement.BigDecimal
executeAndGetScalarBigDecimalValue()
Typed version ofexecuteAndGetScalarValue()
.BigDecimal
executeAndGetScalarBigDecimalValue(Object p_valueFallback)
Typed version ofexecuteAndGetScalarValue(Object)
.Boolean
executeAndGetScalarBooleanValue()
Typed version ofexecuteAndGetScalarValue()
.Boolean
executeAndGetScalarBooleanValue(Object p_valueFallback)
Typed version ofexecuteAndGetScalarValue(Object)
.Byte
executeAndGetScalarByteValue()
Typed version ofexecuteAndGetScalarValue()
.Byte
executeAndGetScalarByteValue(Object p_valueFallback)
Typed version ofexecuteAndGetScalarValue(Object)
.Date
executeAndGetScalarDateValue()
Typed version ofexecuteAndGetScalarValue()
.Date
executeAndGetScalarDateValue(Object p_valueFallback)
Typed version ofexecuteAndGetScalarValue(Object)
.Double
executeAndGetScalarDoubleValue()
Typed version ofexecuteAndGetScalarValue()
.Double
executeAndGetScalarDoubleValue(Object p_valueFallback)
Typed version ofexecuteAndGetScalarValue(Object)
.Float
executeAndGetScalarFloatValue()
Typed version ofexecuteAndGetScalarValue()
.Float
executeAndGetScalarFloatValue(Object p_valueFallback)
Typed version ofexecuteAndGetScalarValue(Object)
.Integer
executeAndGetScalarIntValue()
Typed version ofexecuteAndGetScalarValue()
.Integer
executeAndGetScalarIntValue(Object p_valueFallback)
Typed version ofexecuteAndGetScalarValue(Object)
.Long
executeAndGetScalarLongValue()
Typed version ofexecuteAndGetScalarValue()
.Long
executeAndGetScalarLongValue(Object p_valueFallback)
Typed version ofexecuteAndGetScalarValue(Object)
.Short
executeAndGetScalarShortValue()
Typed version ofexecuteAndGetScalarValue()
.Short
executeAndGetScalarShortValue(Object p_valueFallback)
Typed version ofexecuteAndGetScalarValue(Object)
.String
executeAndGetScalarStringValue()
Typed version ofexecuteAndGetScalarValue()
.String
executeAndGetScalarStringValue(Object p_valueFallback)
Typed version ofexecuteAndGetScalarValue(Object)
.Timestamp
executeAndGetScalarTimestampValue()
Typed version ofexecuteAndGetScalarValue()
.Timestamp
executeAndGetScalarTimestampValue(Object p_valueFallback)
Typed version ofexecuteAndGetScalarValue(Object)
.Date
executeAndGetScalarTimeValue()
Typed version ofexecuteAndGetScalarValue()
.Date
executeAndGetScalarTimeValue(Object p_valueFallback)
Typed version ofexecuteAndGetScalarValue(Object)
.Object
executeAndGetScalarValue()
Get the value of the first column in the first row of the result set.Object
executeAndGetScalarValue(Object p_valueFallback)
Get the value of the first column in the first row of the result set.IValueHolder<?>
executeAndGetScalarValueHolder()
Get the value of the first column in the first row of the result set.DbResultSet
executeQuery()
Executes the SQL query in this object and returns theIDbResultSet
object generated by the query.int
executeUpdate()
Executes the SQL statement in this object, which must be an SQL Data Manipulation Language (DML) statement, such asINSERT
,UPDATE
orDELETE
; or an SQL statement that returns nothing, such as a DDL statement.int
getFetchSize()
Get the fetch size of the underlying prepared statement.void
setBigDecimal(int p_iIdx, Object p_value)
Sets the designated parameter to the given number value.void
setBoolean(int p_iIdx, Object p_value)
Sets the designated parameter to the given boolean value.void
setByte(int p_iIdx, Object p_value)
Sets the designated parameter to the given integer value.void
setCharacterStream(int p_iIdx, Object p_value)
Sets the designated parameter to the value given string value.void
setDate(int p_iIdx, Object p_value)
Sets the designated parameter to the given date value.void
setDate(int p_iIdx, Object p_value, Calendar p_cal)
Sets the designated parameter to the given date value.void
setDate(int p_iIdx, Object p_value, TimeZone p_tz)
Sets the designated parameter to the given date value.void
setDouble(int p_iIdx, Object p_value)
Sets the designated parameter to the given floating point number value.void
setFetchSize(int p_iFetchSize)
Set the fetch size of the underlying prepared statement.void
setFloat(int p_iIdx, Object p_value)
Sets the designated parameter to the given floating point number value.void
setInt(int p_iIdx, Object p_value)
Sets the designated parameter to the given integer number value.void
setLong(int p_iIdx, Object p_value)
Sets the designated parameter to the given integer number value.void
setShort(int p_iIdx, Object p_value)
Sets the designated parameter to the given integer number value.void
setString(int p_iIdx, Object p_value)
Sets the designated parameter to the given string value.void
setTime(int p_iIdx, Object p_value)
Sets the designated parameter to the given time value.void
setTime(int p_iIdx, Object p_value, Calendar p_cal)
Sets the designated parameter to the given time value.void
setTime(int p_iIdx, Object p_value, TimeZone p_tz)
Sets the designated parameter to the given time value.void
setTimestamp(int p_iIdx, Object p_value)
Sets the designated parameter to the given timestamp value.void
setTimestamp(int p_iIdx, Object p_value, Calendar p_cal)
Sets the designated parameter to the given timestamp value.void
setTimestamp(int p_iIdx, Object p_value, TimeZone p_tz)
Sets the designated parameter to the given timestamp value.
-
-
-
Method Detail
-
getFetchSize
int getFetchSize() throws SQLException
Get the fetch size of the underlying prepared statement.- Returns:
- The fetch size.
- Throws:
SQLException
- See Also:
Statement.setFetchSize(int)
-
setFetchSize
void setFetchSize(int p_iFetchSize) throws SQLException
Set the fetch size of the underlying prepared statement.- Parameters:
p_iFetchSize
- The fetch size.- Throws:
SQLException
- See Also:
Statement.setFetchSize(int)
-
execute
void execute() throws SQLException
Executes the SQL statement in this object, which may be any kind of SQL statement.- Throws:
SQLException
- If a database error occurred.
-
executeUpdate
int executeUpdate() throws SQLException
Executes the SQL statement in this object, which must be an SQL Data Manipulation Language (DML) statement, such asINSERT
,UPDATE
orDELETE
; or an SQL statement that returns nothing, such as a DDL statement.- Throws:
SQLException
- If a database error occurred.
-
executeQuery
DbResultSet executeQuery() throws SQLException
Executes the SQL query in this object and returns theIDbResultSet
object generated by the query.- Returns:
- An
IDbResultSet
object that contains the data produced by the query; nevernull
. - Throws:
SQLException
- If a database error occurred.
-
executeAndGetScalarValueHolder
IValueHolder<?> executeAndGetScalarValueHolder() throws SQLException
Get the value of the first column in the first row of the result set.If the result set is empty,
null
is returned.- Returns:
- A value holder that contains the value of the first column in the first
row of the result set, or
null
if the result set is empty. - Throws:
SQLException
-
executeAndGetScalarValue
Object executeAndGetScalarValue(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_valueIfNull
is returned.- Parameters:
p_valueFallback
- The return value if the query returns an empty result set ornull
.- Returns:
- The value of the first column in the first row of the result set,
or
p_valueIfNull
if the result set is empty, or the value isnull
. - Throws:
SQLException
-
executeAndGetScalarValue
Object executeAndGetScalarValue() throws SQLException
Get the value of the first column in the first row of the result set.If the result set is empty,
null
is returned.- Returns:
- The value of the first column in the first row of the result set,
or
null
if the result set is empty. - Throws:
SQLException
-
executeAndGetScalarBooleanValue
Boolean executeAndGetScalarBooleanValue(Object p_valueFallback) throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue(Object)
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue(Object)
-
executeAndGetScalarBooleanValue
Boolean executeAndGetScalarBooleanValue() throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue()
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue()
-
executeAndGetScalarByteValue
Byte executeAndGetScalarByteValue(Object p_valueFallback) throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue(Object)
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue(Object)
-
executeAndGetScalarByteValue
Byte executeAndGetScalarByteValue() throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue()
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue()
-
executeAndGetScalarShortValue
Short executeAndGetScalarShortValue(Object p_valueFallback) throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue(Object)
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue(Object)
-
executeAndGetScalarShortValue
Short executeAndGetScalarShortValue() throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue()
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue()
-
executeAndGetScalarIntValue
Integer executeAndGetScalarIntValue(Object p_valueFallback) throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue(Object)
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue(Object)
-
executeAndGetScalarIntValue
Integer executeAndGetScalarIntValue() throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue()
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue()
-
executeAndGetScalarLongValue
Long executeAndGetScalarLongValue(Object p_valueFallback) throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue(Object)
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue(Object)
-
executeAndGetScalarLongValue
Long executeAndGetScalarLongValue() throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue()
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue()
-
executeAndGetScalarFloatValue
Float executeAndGetScalarFloatValue(Object p_valueFallback) throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue(Object)
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue(Object)
-
executeAndGetScalarFloatValue
Float executeAndGetScalarFloatValue() throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue()
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue()
-
executeAndGetScalarDoubleValue
Double executeAndGetScalarDoubleValue(Object p_valueFallback) throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue(Object)
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue(Object)
-
executeAndGetScalarDoubleValue
Double executeAndGetScalarDoubleValue() throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue()
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue()
-
executeAndGetScalarBigDecimalValue
BigDecimal executeAndGetScalarBigDecimalValue(Object p_valueFallback) throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue(Object)
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue(Object)
-
executeAndGetScalarBigDecimalValue
BigDecimal executeAndGetScalarBigDecimalValue() throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue()
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue()
-
executeAndGetScalarStringValue
String executeAndGetScalarStringValue(Object p_valueFallback) throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue(Object)
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue(Object)
-
executeAndGetScalarStringValue
String executeAndGetScalarStringValue() throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue()
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue()
-
executeAndGetScalarTimestampValue
Timestamp executeAndGetScalarTimestampValue(Object p_valueFallback) throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue(Object)
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue(Object)
-
executeAndGetScalarTimestampValue
Timestamp executeAndGetScalarTimestampValue() throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue()
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue()
-
executeAndGetScalarDateValue
Date executeAndGetScalarDateValue(Object p_valueFallback) throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue(Object)
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue(Object)
-
executeAndGetScalarDateValue
Date executeAndGetScalarDateValue() throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue()
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue()
-
executeAndGetScalarTimeValue
Date executeAndGetScalarTimeValue(Object p_valueFallback) throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue(Object)
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue(Object)
-
executeAndGetScalarTimeValue
Date executeAndGetScalarTimeValue() throws SQLException, ValueCastException
Typed version ofexecuteAndGetScalarValue()
.- Throws:
SQLException
- If a database error occurred.ValueCastException
- If the database value could not be cast to the specific type.- See Also:
executeAndGetScalarValue()
-
setBoolean
void setBoolean(int p_iIdx, Object p_value) throws SQLException
Sets the designated parameter to the given boolean value.- Parameters:
p_iIdx
- The first parameter is 1, the second is 2, ...p_value
- The parameter value.- Throws:
SQLException
- If the parameter index does not correspond to a parameter marker in the SQL statement, if a database access error occurs, or this method is called on a closed statement.
-
setInt
void setInt(int p_iIdx, Object p_value) throws SQLException
Sets the designated parameter to the given integer number value.- Parameters:
p_iIdx
- The first parameter is 1, the second is 2, ...p_value
- The parameter value.- Throws:
SQLException
- If the parameter index does not correspond to a parameter marker in the SQL statement, if a database access error occurs, or this method is called on a closed statement.
-
setLong
void setLong(int p_iIdx, Object p_value) throws SQLException
Sets the designated parameter to the given integer number value.- Parameters:
p_iIdx
- The first parameter is 1, the second is 2, ...p_value
- The parameter value.- Throws:
SQLException
- If the parameter index does not correspond to a parameter marker in the SQL statement, if a database access error occurs, or this method is called on a closed statement.
-
setShort
void setShort(int p_iIdx, Object p_value) throws SQLException
Sets the designated parameter to the given integer number value.- Parameters:
p_iIdx
- The first parameter is 1, the second is 2, ...p_value
- The parameter value.- Throws:
SQLException
- If the parameter index does not correspond to a parameter marker in the SQL statement, if a database access error occurs, or this method is called on a closed statement.
-
setByte
void setByte(int p_iIdx, Object p_value) throws SQLException
Sets the designated parameter to the given integer value.- Parameters:
p_iIdx
- The first parameter is 1, the second is 2, ...p_value
- The parameter value.- Throws:
SQLException
- If the parameter index does not correspond to a parameter marker in the SQL statement, if a database access error occurs, or this method is called on a closed statement.
-
setBigDecimal
void setBigDecimal(int p_iIdx, Object p_value) throws SQLException
Sets the designated parameter to the given number value.- Parameters:
p_iIdx
- The first parameter is 1, the second is 2, ...p_value
- The parameter value.- Throws:
SQLException
- If the parameter index does not correspond to a parameter marker in the SQL statement, if a database access error occurs, or this method is called on a closed statement.
-
setFloat
void setFloat(int p_iIdx, Object p_value) throws SQLException
Sets the designated parameter to the given floating point number value.- Parameters:
p_iIdx
- The first parameter is 1, the second is 2, ...p_value
- The parameter value.- Throws:
SQLException
- If the parameter index does not correspond to a parameter marker in the SQL statement, if a database access error occurs, or this method is called on a closed statement.
-
setDouble
void setDouble(int p_iIdx, Object p_value) throws SQLException
Sets the designated parameter to the given floating point number value.- Parameters:
p_iIdx
- The first parameter is 1, the second is 2, ...p_value
- The parameter value.- Throws:
SQLException
- If the parameter index does not correspond to a parameter marker in the SQL statement, if a database access error occurs, or this method is called on a closed statement.
-
setTimestamp
void setTimestamp(int p_iIdx, Object p_value) throws SQLException
Sets the designated parameter to the given timestamp value.A calendar with the time zone that is associated with the database connection that was used to create this statement is used to write the timestamp to the database.
- Parameters:
p_iIdx
- The first parameter is 1, the second is 2, ...p_value
- The parameter value.- Throws:
SQLException
- If the parameter index does not correspond to a parameter marker in the SQL statement, if a database access error occurs, or this method is called on a closed statement.
-
setTimestamp
void setTimestamp(int p_iIdx, Object p_value, TimeZone p_tz) throws SQLException
Sets the designated parameter to the given timestamp value.- Parameters:
p_iIdx
- The first parameter is 1, the second is 2, ...p_value
- The parameter value.p_tz
- The time zone to be used when writing the timestamp to the database. If this parameter is omitted, the time zone that is associated with the database connection that was used to create this statement is used.- Throws:
SQLException
- If the parameter index does not correspond to a parameter marker in the SQL statement, if a database access error occurs, or this method is called on a closed statement.
-
setTimestamp
void setTimestamp(int p_iIdx, Object p_value, Calendar p_cal) throws SQLException
Sets the designated parameter to the given timestamp value.- Parameters:
p_iIdx
- The first parameter is 1, the second is 2, ...p_value
- The parameter value.p_cal
- The calendar to be used when writing the timestamp to the database. If this parameter is omitted, a calendar with the time zone that is associated with the database connection that was used to create this statement is used.- Throws:
SQLException
- If the parameter index does not correspond to a parameter marker in the SQL statement, if a database access error occurs, or this method is called on a closed statement.
-
setTime
void setTime(int p_iIdx, Object p_value) throws SQLException
Sets the designated parameter to the given time value.A calendar with the time zone that is associated with the database connection that was used to create this statement is used to write the time value to the database.
- Parameters:
p_iIdx
- The first parameter is 1, the second is 2, ...p_value
- The parameter value.- Throws:
SQLException
- If the parameter index does not correspond to a parameter marker in the SQL statement, if a database access error occurs, or this method is called on a closed statement.
-
setTime
void setTime(int p_iIdx, Object p_value, TimeZone p_tz) throws SQLException
Sets the designated parameter to the given time value.- Parameters:
p_iIdx
- The first parameter is 1, the second is 2, ...p_value
- The parameter value.p_tz
- The time zone to be used when writing the time value to the database. If this parameter is omitted, the time zone that is associated with the database connection that was used to create this statement is used.- Throws:
SQLException
- If the parameter index does not correspond to a parameter marker in the SQL statement, if a database access error occurs, or this method is called on a closed statement.
-
setTime
void setTime(int p_iIdx, Object p_value, Calendar p_cal) throws SQLException
Sets the designated parameter to the given time value.- Parameters:
p_iIdx
- The first parameter is 1, the second is 2, ...p_value
- The parameter value.p_cal
- The calendar to be used when writing the time to the database. If this parameter is omitted, a calendar with the time zone that is associated with the database connection that was used to create this statement is used.- Throws:
SQLException
- If the parameter index does not correspond to a parameter marker in the SQL statement, if a database access error occurs, or this method is called on a closed statement.
-
setDate
void setDate(int p_iIdx, Object p_value) throws SQLException
Sets the designated parameter to the given date value.A calendar with the time zone that is associated with the database connection that was used to create this statement is used to write the time value to the database.
- Parameters:
p_iIdx
- The first parameter is 1, the second is 2, ...p_value
- The parameter value.- Throws:
SQLException
- If the parameter index does not correspond to a parameter marker in the SQL statement, if a database access error occurs, or this method is called on a closed statement.
-
setDate
void setDate(int p_iIdx, Object p_value, TimeZone p_tz) throws SQLException
Sets the designated parameter to the given date value.- Parameters:
p_iIdx
- The first parameter is 1, the second is 2, ...p_value
- The parameter value.p_tz
- The time zone to be used when writing the date value to the database. If this parameter is omitted, the time zone that is associated with the database connection that was used to create this statement is used.- Throws:
SQLException
- If the parameter index does not correspond to a parameter marker in the SQL statement, if a database access error occurs, or this method is called on a closed statement.
-
setDate
void setDate(int p_iIdx, Object p_value, Calendar p_cal) throws SQLException
Sets the designated parameter to the given date value.- Parameters:
p_iIdx
- The first parameter is 1, the second is 2, ...p_value
- The parameter value.p_cal
- The calendar to be used when writing the date to the database. If this parameter is omitted, a calendar with the time zone that is associated with the database connection that was used to create this statement is used.- Throws:
SQLException
- If the parameter index does not correspond to a parameter marker in the SQL statement, if a database access error occurs, or this method is called on a closed statement.
-
setString
void setString(int p_iIdx, Object p_value) throws SQLException
Sets the designated parameter to the given string value.- Parameters:
p_iIdx
- The first parameter is 1, the second is 2, ...p_value
- The parameter value.- Throws:
SQLException
- If the parameter index does not correspond to a parameter marker in the SQL statement, if a database access error occurs, or this method is called on a closed statement.
-
setCharacterStream
void setCharacterStream(int p_iIdx, Object p_value) throws SQLException, IOException
Sets the designated parameter to the value given string value.- Parameters:
p_iIdx
- The first parameter is 1, the second is 2, ...p_value
- The parameter value.- Throws:
SQLException
- If the parameter index does not correspond to a parameter marker in the SQL statement, if a database access error occurs, or this method is called on a closed statement.IOException
-
close
void close() throws SQLException
Close this statement.- Specified by:
close
in interfaceAutoCloseable
- Throws:
SQLException
- If a database error occurred.
-
-