public abstract class ExecStatement extends java.lang.Object implements Executable
Constructor and Description |
---|
ExecStatement(java.lang.String sql) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
callExecute(java.sql.PreparedStatement statement) |
boolean |
execute(java.sql.Connection connection) |
boolean |
execute(java.sql.PreparedStatement statement) |
java.lang.String |
getSql() |
abstract void |
prepare(java.sql.PreparedStatement statement) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
empty
public boolean execute(java.sql.Connection connection)
execute
in interface Executable
public boolean execute(java.sql.PreparedStatement statement) throws java.sql.SQLException
java.sql.SQLException
protected boolean callExecute(java.sql.PreparedStatement statement) throws java.sql.SQLException
java.sql.SQLException
public abstract void prepare(java.sql.PreparedStatement statement) throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getSql()