BEA Systems, Inc.

com.beasys.commerce.util
Class PreparedStatementCache

java.lang.Object
  |
  +--com.beasys.commerce.util.PreparedStatementCache

public class PreparedStatementCache
extends java.lang.Object

This class is used to store a cache of SQL PreparedStatements


Constructor Summary
PreparedStatementCache()
           
 
Method Summary
protected  java.sql.PreparedStatement addCacheHandle(java.sql.Connection connection, com.beasys.commerce.util.ConnectionStatementCache connectionCache, java.lang.String szText)
           
 java.sql.PreparedStatement getPreparedStatement(java.sql.Connection connection, java.lang.Object handle, java.lang.String szText)
           
 java.lang.Object initialize(java.lang.Object requestor, int nInitialSize, int nMaxSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreparedStatementCache

public PreparedStatementCache()
Method Detail

initialize

public java.lang.Object initialize(java.lang.Object requestor,
                                   int nInitialSize,
                                   int nMaxSize)

addCacheHandle

protected java.sql.PreparedStatement addCacheHandle(java.sql.Connection connection,
                                                    com.beasys.commerce.util.ConnectionStatementCache connectionCache,
                                                    java.lang.String szText)
                                             throws java.sql.SQLException

getPreparedStatement

public java.sql.PreparedStatement getPreparedStatement(java.sql.Connection connection,
                                                       java.lang.Object handle,
                                                       java.lang.String szText)
                                                throws java.sql.SQLException

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved