Class BaseTableOperations.FlowableConnection
java.lang.Object
org.infinispan.persistence.jdbc.common.sql.BaseTableOperations.FlowableConnection
- Enclosing class:
- BaseTableOperations<K,
V>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final boolean
protected final Connection
protected final Consumer<Connection>
protected final PreparedStatement
-
Constructor Summary
ConstructorDescriptionFlowableConnection
(Connection connection, Consumer<Connection> connectionCloser, String sql) -
Method Summary
-
Field Details
-
autoCommit
protected final boolean autoCommit -
connection
-
connectionCloser
-
statement
-
-
Constructor Details
-
FlowableConnection
public FlowableConnection(Connection connection, Consumer<Connection> connectionCloser, String sql) throws SQLException - Throws:
SQLException
-
-
Method Details
-
isAutoCommit
public boolean isAutoCommit() -
getConnection
-
getConnectionCloser
-
getStatement
-
close
public void close()
-