public class JdbcCommands
extends java.lang.Object
Constructor and Description |
---|
JdbcCommands(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute() |
org.springframework.dao.DataAccessException |
getLastException() |
void |
setAfterSqls(java.util.List<java.lang.String> afterSqls) |
void |
setBeforeSqls(java.util.List<java.lang.String> beforeSqls) |
void |
setCleanSql(java.lang.String sql) |
void |
setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) |
void |
setPrepareSql(java.lang.String sql) |
void |
setRunSql(java.lang.String sql) |
public JdbcCommands(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
public void setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
public void setPrepareSql(java.lang.String sql)
public void setRunSql(java.lang.String sql)
public void setCleanSql(java.lang.String sql)
public void setBeforeSqls(java.util.List<java.lang.String> beforeSqls)
public void setAfterSqls(java.util.List<java.lang.String> afterSqls)
public boolean execute()
public org.springframework.dao.DataAccessException getLastException()