Class PreparedStatementCache
java.lang.Object
org.eclipse.scout.rt.platform.transaction.AbstractTransactionMember
org.eclipse.scout.rt.server.jdbc.internal.exec.PreparedStatementCache
- All Implemented Interfaces:
org.eclipse.scout.rt.platform.transaction.ITransactionMember
,IStatementCache
public class PreparedStatementCache
extends org.eclipse.scout.rt.platform.transaction.AbstractTransactionMember
implements IStatementCache
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCallableStatement
(Connection conn, String s) getPreparedStatement
(Connection conn, String s) void
release()
void
void
Methods inherited from class org.eclipse.scout.rt.platform.transaction.AbstractTransactionMember
cancel, commitPhase1, commitPhase2, getMemberId, needsCommit, rollback
-
Field Details
-
TRANSACTION_MEMBER_ID
- See Also:
-
-
Constructor Details
-
PreparedStatementCache
public PreparedStatementCache(int statementCacheSize)
-
-
Method Details
-
getPreparedStatement
- Specified by:
getPreparedStatement
in interfaceIStatementCache
- Throws:
SQLException
-
releasePreparedStatement
- Specified by:
releasePreparedStatement
in interfaceIStatementCache
-
getCallableStatement
- Specified by:
getCallableStatement
in interfaceIStatementCache
- Throws:
SQLException
-
releaseCallableStatement
- Specified by:
releaseCallableStatement
in interfaceIStatementCache
-
release
public void release()- Specified by:
release
in interfaceorg.eclipse.scout.rt.platform.transaction.ITransactionMember
- Overrides:
release
in classorg.eclipse.scout.rt.platform.transaction.AbstractTransactionMember
-