Java Reference
In-Depth Information
}
out . flush ();
out . close ();
}
public
public static
static Verbosity getVerbosity () {
return
return verbosity ;
}
public
public static
void setVerbosity ( Verbosity verbosity ) {
SQLRunner . verbosity = verbosity ;
static void
}
public
public void
void setErrorHandler ( SQLRunnerErrorHandler eHandler ) {
gui . setErrorHandler ( eHandler );
}
public
public void
void setGUI ( SQLRunnerGUI gui ) {
this
this . gui = gui ;
}
public
public String toString () {
return
return "sqlrunner" ;
}
public
public boolean
boolean isEscape () {
return
return escape ;
}
}
I used to use this program fairly regularly, so it evolved quite a lot. Now that most of my pro-
jects use the excellent open source PostgresQL database, I tend to use “psql,” a tool which
heavily influenced SqlRunner.
See Also
There are many good books on JDBC from O'Reilly and other major publishers. The same is
true of relational databases, relational theory, and so on. The list changes too frequently to be
kept up to date here.
[ 53 ] The Design Pattern for this is called Data Accessor Object, or DAO for short.
 
Search WWH ::




Custom Search