public abstract class WrapperRelease<T> extends 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(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 SQLException
SQLExceptionprotected abstract void releaseResourceImpl(T result) throws SQLException
result - abstracts, release mechanism for underlying resource any specific implementation for release resources
should add hereSQLExceptionprotected abstract boolean isFlexibleSyntax(String query) throws SQLException
SQLExceptionCopyright © 2017 SAP SE. All Rights Reserved.