Purple Code

com.purpletech.util
Class DBUtils

java.lang.Object
  |
  +--com.purpletech.util.DBUtils

public class DBUtils
extends java.lang.Object


Constructor Summary
DBUtils()
           
 
Method Summary
static void closeConnection(com.javaexchange.dbConnectionBroker.DbConnectionBroker broker, java.sql.Connection con, java.sql.Statement st, java.sql.ResultSet rs)
          Call this from your finally block.
static java.lang.String sqlEscape(java.lang.String aString)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBUtils

public DBUtils()
Method Detail

sqlEscape

public static java.lang.String sqlEscape(java.lang.String aString)

closeConnection

public static void closeConnection(com.javaexchange.dbConnectionBroker.DbConnectionBroker broker,
                                   java.sql.Connection con,
                                   java.sql.Statement st,
                                   java.sql.ResultSet rs)
Call this from your finally block. It safely closes all players without throwing a nasty exception.


Documentation generated March 5 2003