tylerhayes.tools
Class PostgresSQLConsole

java.lang.Object
  extended by tylerhayes.tools.PostgresSQLConsole

public class PostgresSQLConsole
extends java.lang.Object


Constructor Summary
PostgresSQLConsole(java.sql.Connection dbConn)
           
 
Method Summary
 int delete(java.lang.String deleteStatement)
           
 int insert(java.lang.String insertStatement)
           
 java.sql.ResultSet select(java.lang.String selectStatement)
           
 int update(java.lang.String updateStatement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostgresSQLConsole

public PostgresSQLConsole(java.sql.Connection dbConn)
Method Detail

select

public java.sql.ResultSet select(java.lang.String selectStatement)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

update

public int update(java.lang.String updateStatement)
           throws java.sql.SQLException
Throws:
java.sql.SQLException

insert

public int insert(java.lang.String insertStatement)
           throws java.sql.SQLException
Throws:
java.sql.SQLException

delete

public int delete(java.lang.String deleteStatement)
           throws java.sql.SQLException
Throws:
java.sql.SQLException