|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.fikin.sql.SQLPipeElement net.sf.fikin.sql.core.AbstractOutput net.sf.fikin.sql.core.AbstractEnabledOutput net.sf.fikin.sql.core.ShowWarnings
public class ShowWarnings
A pipe element showing warnings after the execution of last sql command
created on Dec 16, 2006
Constructor Summary | |
---|---|
ShowWarnings(java.io.PrintStream out)
create an element by default showing all warning from last sql command |
|
ShowWarnings(java.io.PrintStream out,
boolean showOn)
create an showing warnings sql commands pipe element |
|
ShowWarnings(java.io.PrintWriter out)
create an element by default showing all warning from last sql command |
|
ShowWarnings(java.io.PrintWriter out,
boolean showOn)
create an showing warnings sql commands pipe element |
Method Summary | |
---|---|
void |
execute(java.lang.String cmd)
show JDBC stmt warnings if any after sqlcmd execution |
Methods inherited from class net.sf.fikin.sql.core.AbstractEnabledOutput |
---|
getBaseClassName, getOutOn, setOutOn |
Methods inherited from class net.sf.fikin.sql.core.AbstractOutput |
---|
getOut, setOut, setOut, setOut, setOut, setOutFileName |
Methods inherited from class net.sf.fikin.sql.SQLPipeElement |
---|
getId, getNext, getPipe, setNext, setPipe |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShowWarnings(java.io.PrintWriter out)
public ShowWarnings(java.io.PrintStream out)
public ShowWarnings(java.io.PrintStream out, boolean showOn)
public ShowWarnings(java.io.PrintWriter out, boolean showOn)
Method Detail |
---|
public void execute(java.lang.String cmd) throws java.sql.SQLException
execute
in class SQLPipeElement
cmd
- to execute
java.sql.SQLException
- in case of error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |