|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.flyway.core.util.jdbc.JdbcTemplate
com.googlecode.flyway.core.dbsupport.db2.DB2JdbcTemplate
public class DB2JdbcTemplate
DB2-specific JdbcTemplate customizations.
| Constructor Summary | |
|---|---|
DB2JdbcTemplate(java.sql.Connection connection)
Creates a new DB2JdbcTemplate. |
|
| Method Summary | |
|---|---|
protected void |
setNull(java.sql.PreparedStatement preparedStatement,
int parameterIndex)
Sets the value of the parameter with this index to null in this PreparedStatement. |
| Methods inherited from class com.googlecode.flyway.core.util.jdbc.JdbcTemplate |
|---|
execute, executeStatement, getConnection, getMetaData, hasTables, query, queryForInt, queryForList, queryForString, queryForStringList, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DB2JdbcTemplate(java.sql.Connection connection)
connection - The DB connection to use.| Method Detail |
|---|
protected void setNull(java.sql.PreparedStatement preparedStatement,
int parameterIndex)
throws java.sql.SQLException
JdbcTemplatenull in this PreparedStatement.
setNull in class JdbcTemplatepreparedStatement - The prepared statement whose parameter to set.parameterIndex - The index of the parameter to set.
java.sql.SQLException - when the value could not be set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||