Protege 2.1.1

edu.stanford.smi.protege.storage.jdbc
Class PreparedStatementHolder

java.lang.Object
  extended byedu.stanford.smi.protege.storage.jdbc.PreparedStatementHolder

public class PreparedStatementHolder
extends Object

Cache for prepared statements. Among other things this allows for all statements to be closed cleanly.

Author:
Ray Fergerson

Constructor Summary
PreparedStatementHolder(Connection c)
           
 
Method Summary
 void closeAll()
           
 PreparedStatement get(String stmtText)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreparedStatementHolder

public PreparedStatementHolder(Connection c)
Method Detail

closeAll

public void closeAll()
              throws SQLException
Throws:
SQLException

get

public PreparedStatement get(String stmtText)
                      throws SQLException
Throws:
SQLException

Protege 2.1.1

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2004 Stanford University.