Firefish 0.5.10

gov.lbl.dsd.firefish
Class SQLTool

java.lang.Object
  extended bygov.lbl.dsd.firefish.SQLTool

public class SQLTool
extends Object

Convenience tools for evaluating a SQL query.

Version:
$Revision: 1.3 $, $Date: 2004/02/06 23:05:34 $

Constructor Summary
SQLTool()
           
 
Method Summary
static ItemSet resultSet2ItemSet(ResultSet resultSet, boolean wrap)
           
static DataSource setupDataSource(String connectURI, String driverClassName)
           
static String setUserAndPassword(String jdbcConnectionURI, String user, String password)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLTool

public SQLTool()
Method Detail

resultSet2ItemSet

public static ItemSet resultSet2ItemSet(ResultSet resultSet,
                                        boolean wrap)
                                 throws SQLException
Throws:
SQLException

setupDataSource

public static DataSource setupDataSource(String connectURI,
                                         String driverClassName)

setUserAndPassword

public static String setUserAndPassword(String jdbcConnectionURI,
                                        String user,
                                        String password)
                                 throws URISyntaxException
Throws:
URISyntaxException

Firefish 0.5.10

Jump to the Firefish Homepage