tylerhayes.tools
Class PostgreSQLConsole

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

public class PostgreSQLConsole
extends java.lang.Object


Constructor Summary
PostgreSQLConsole(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)
           
 java.sql.ResultSet selectScrollable(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

PostgreSQLConsole

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

select

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

selectScrollable

public java.sql.ResultSet selectScrollable(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