Top Description Fields Constructors Methods
org.jooq.impl

pack-priv final Class ProviderEnabledPreparedStatement

extends DefaultPreparedStatement
Class Inheritance
Imports
java.sql.PreparedStatement, .SQLException, org.jooq.ConnectionProvider, org.jooq.tools.jdbc.DefaultPreparedStatement

Deprecated

as a consequence of DefaultPreparedStatement being deprecated. See corresponding docs for further information.

A ConnectionProvider-enabled statement.
Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
private final ProviderEnabledConnection
connection

Deprecated as a consequence of ProviderEnabledConnection being deprecated.

Constructor Summary

AccessConstructor and Description
pack-priv
ProviderEnabledPreparedStatement(ProviderEnabledConnection connection, PreparedStatement statement)

Deprecated as a consequence of ProviderEnabledConnection being deprecated.

Method Summary

Modifier and TypeMethod and Description
public final void
close()

Overrides org.jooq.tools.jdbc.DefaultStatement.close.

Implements java.sql.Statement.close.

Releases this Statement object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed.
Inherited from org.jooq.tools.jdbc.DefaultPreparedStatement:
addBatchclearParametersexecuteexecuteLargeUpdateexecuteQueryexecuteUpdategetDelegategetDelegatePreparedStatementgetMetaDatagetParameterMetaDatasetArraysetAsciiStreamsetAsciiStreamsetAsciiStreamsetBigDecimalsetBinaryStreamsetBinaryStreamsetBinaryStreamsetBlobsetBlobsetBlobsetBooleansetBytesetBytessetCharacterStreamsetCharacterStreamsetCharacterStreamsetClobsetClobsetClobsetDatesetDatesetDoublesetFloatsetIntsetLongsetNCharacterStreamsetNCharacterStreamsetNClobsetNClobsetNClobsetNStringsetNullsetNullsetObjectsetObjectsetObjectsetObjectsetObjectsetRefsetRowIdsetShortsetSQLXMLsetStringsetTimesetTimesetTimestampsetTimestampsetUnicodeStreamsetURL

Field Detail

connectionback to summary
private final ProviderEnabledConnection connection

Deprecated

as a consequence of ProviderEnabledConnection being deprecated. See corresponding docs for further information.

Constructor Detail

ProviderEnabledPreparedStatementback to summary
pack-priv ProviderEnabledPreparedStatement(ProviderEnabledConnection connection, PreparedStatement statement)

Deprecated

as a consequence of ProviderEnabledConnection being deprecated. See corresponding docs for further information.

Method Detail

closeback to summary
public final void close() throws SQLException

Overrides org.jooq.tools.jdbc.DefaultStatement.close.

Implements java.sql.Statement.close.

Doc from java.sql.Statement.close.

Releases this Statement object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed. It is generally good practice to release resources as soon as you are finished with them to avoid tying up database resources.

Calling the method close on a Statement object that is already closed has no effect.

Note

When a Statement object is closed, its current ResultSet object, if one exists, is also closed.

Annotations
@Override
Exceptions
SQLException:
if a database access error occurs