public abstract class WrapperRelease<T>
extends java.lang.Object
| Constructor and Description |
|---|
WrapperRelease() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addResource(T resource)
Adds resource to be released.
|
protected abstract boolean |
isFlexibleSyntax(java.lang.String query) |
protected abstract void |
releaseResourceImpl(T result) |
protected void |
releaseResources() |
protected void |
removeResource(T resource)
Removes resource from list of resources to be released.
|
protected void addResource(T resource)
resource - the resource to addprotected void removeResource(T resource)
releaseResourceImpl(Object) is
not called!resource - the resoure to unlistprotected void releaseResources()
throws java.sql.SQLException
java.sql.SQLExceptionprotected abstract void releaseResourceImpl(T result) throws java.sql.SQLException
result - abstracts, release mechanism for underlying resource any specific implementation for release resources
should add herejava.sql.SQLExceptionprotected abstract boolean isFlexibleSyntax(java.lang.String query)
throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2018 SAP SE. All Rights Reserved.