org.milyn.routing.db
Class StatementExec
java.lang.Object
org.milyn.routing.db.StatementExec
public class StatementExec
- extends Object
SQL Statement Executor.
- Author:
- tom.fennelly@gmail.com
|
Method Summary |
void |
executeJoinedQuery(Connection dbConnection,
Map<String,Object> beanMap)
|
void |
executeJoinedQuery(Connection dbConnection,
Map<String,Object> beanMap,
List<Map<String,Object>> resultMap)
|
void |
executeJoinedStatement(Connection dbConnection,
List<Map<String,Object>> resultSet)
|
void |
executeJoinedStatement(Connection dbConnection,
Map<String,Object> beanMap)
|
int |
executeJoinedUpdate(Connection dbConnection,
Map<String,Object> beanMap)
|
List<Map<String,Object>> |
executeUnjoinedQuery(Connection dbConnection,
List<Object> params)
|
List<Map<String,Object>> |
executeUnjoinedQuery(Connection dbConnection,
Object... params)
|
int |
executeUnjoinedUpdate(Connection dbConnection,
List<Object> params)
|
int |
executeUnjoinedUpdate(Connection dbConnection,
Object... params)
|
String |
getStatement()
|
StatementType |
getStatementType()
|
String |
getUpdateStatement(Map<String,Object> beanMap)
|
boolean |
isJoin()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatementExec
public StatementExec(String statementString)
throws SmooksConfigurationException
- Throws:
SmooksConfigurationException
getStatement
public String getStatement()
getStatementType
public StatementType getStatementType()
isJoin
public boolean isJoin()
executeUnjoinedQuery
public List<Map<String,Object>> executeUnjoinedQuery(Connection dbConnection,
Object... params)
throws SQLException
- Throws:
SQLException
executeUnjoinedQuery
public List<Map<String,Object>> executeUnjoinedQuery(Connection dbConnection,
List<Object> params)
throws SQLException
- Throws:
SQLException
executeUnjoinedUpdate
public int executeUnjoinedUpdate(Connection dbConnection,
Object... params)
throws SQLException
- Throws:
SQLException
executeUnjoinedUpdate
public int executeUnjoinedUpdate(Connection dbConnection,
List<Object> params)
throws SQLException
- Throws:
SQLException
executeJoinedStatement
public void executeJoinedStatement(Connection dbConnection,
List<Map<String,Object>> resultSet)
throws SQLException
- Throws:
SQLException
executeJoinedStatement
public void executeJoinedStatement(Connection dbConnection,
Map<String,Object> beanMap)
throws SQLException
- Throws:
SQLException
executeJoinedQuery
public void executeJoinedQuery(Connection dbConnection,
Map<String,Object> beanMap)
throws SQLException
- Throws:
SQLException
executeJoinedQuery
public void executeJoinedQuery(Connection dbConnection,
Map<String,Object> beanMap,
List<Map<String,Object>> resultMap)
throws SQLException
- Throws:
SQLException
executeJoinedUpdate
public int executeJoinedUpdate(Connection dbConnection,
Map<String,Object> beanMap)
throws SQLException
- Throws:
SQLException
getUpdateStatement
public String getUpdateStatement(Map<String,Object> beanMap)
Copyright © 2014. All Rights Reserved.