Statement - the type of the statementpublic interface StatementHolder<Statement extends PreparedStatement> extends Closeable
PreparedStatement.| Modifier and Type | Method and Description |
|---|---|
default void |
close()
Closes the statement held by this object.
|
default boolean |
execute()
Executes the statement held by this object.
|
Statement |
getStatement()
Returns the underlying statement handled by this object.
|
Statement getStatement()
default boolean execute()
true if the first result is a ResultSet
object; false if the first result is an update count or
there is no resultPreparedStatement.execute(),
getStatement()default void close()
close in interface AutoCloseableclose in interface CloseableCopyright © 2019. All rights reserved.