public static class PreparableStatement.PreparableStatementFinalizer extends java.lang.ref.PhantomReference<PreparableStatement<?>>
PhantomReference to track prepared statement ids. An instance of this class must be kept until the prepared statement is properly deallocated. If
proper deallocation does not happen, this is used to identify abandoned prepared statements and proceed with its deallocation after the object is
destructed by using a ReferenceQueue.| Modifier and Type | Field and Description |
|---|---|
(package private) int |
prepredStatementId |
| Constructor and Description |
|---|
PreparableStatementFinalizer(PreparableStatement<?> referent,
java.lang.ref.ReferenceQueue<? super PreparableStatement<?>> q,
int preparedStatementId) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPreparedStatementId() |
public PreparableStatementFinalizer(PreparableStatement<?> referent, java.lang.ref.ReferenceQueue<? super PreparableStatement<?>> q, int preparedStatementId)