public class ExecuteCommand
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
closeConnection() |
int |
executeInsert(java.lang.String query,
java.util.List<SqlParameter> parameters) |
boolean |
executeNonQuery(java.lang.String query,
java.util.List<SqlParameter> parameters) |
java.sql.ResultSet |
executeSelect(java.lang.String query) |
java.sql.ResultSet |
executeSelect(java.lang.String query,
boolean scrollable) |
java.sql.ResultSet |
executeSelect(java.lang.String query,
java.util.List<SqlParameter> parameters) |
java.sql.ResultSet |
executeSelect(java.lang.String query,
SqlParameter parameter) |
java.sql.ResultSet |
executeSelect(java.lang.String query,
SqlParameter parameter,
boolean scrollable) |
static ExecuteCommand |
getInstance() |
void |
openConnection() |
void |
testConnection() |
public static ExecuteCommand getInstance()
public void testConnection() throws java.sql.SQLException
java.sql.SQLException
public void openConnection()
public void closeConnection()
public boolean executeNonQuery(java.lang.String query, java.util.List<SqlParameter> parameters) throws java.sql.SQLException
java.sql.SQLException
public int executeInsert(java.lang.String query, java.util.List<SqlParameter> parameters) throws java.sql.SQLException
java.sql.SQLException
public java.sql.ResultSet executeSelect(java.lang.String query, java.util.List<SqlParameter> parameters) throws java.sql.SQLException
java.sql.SQLException
public java.sql.ResultSet executeSelect(java.lang.String query, SqlParameter parameter) throws java.sql.SQLException
java.sql.SQLException
public java.sql.ResultSet executeSelect(java.lang.String query, SqlParameter parameter, boolean scrollable) throws java.sql.SQLException
java.sql.SQLException
public java.sql.ResultSet executeSelect(java.lang.String query) throws java.sql.SQLException
java.sql.SQLException
public java.sql.ResultSet executeSelect(java.lang.String query, boolean scrollable) throws java.sql.SQLException
java.sql.SQLException