com.googlecode.flyway.core.dbsupport.hsql
Class HsqlJdbcTemplate

java.lang.Object
  extended by com.googlecode.flyway.core.util.jdbc.JdbcTemplate
      extended by com.googlecode.flyway.core.dbsupport.hsql.HsqlJdbcTemplate

public class HsqlJdbcTemplate
extends JdbcTemplate

Hsql-specific JdbcTemplate customizations.


Constructor Summary
HsqlJdbcTemplate(java.sql.Connection connection)
          Creates a new HsqlJdbcTemplate.
 
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

HsqlJdbcTemplate

public HsqlJdbcTemplate(java.sql.Connection connection)
Creates a new HsqlJdbcTemplate.

Parameters:
connection - The DB connection to use.
Method Detail

setNull

protected void setNull(java.sql.PreparedStatement preparedStatement,
                       int parameterIndex)
                throws java.sql.SQLException
Description copied from class: JdbcTemplate
Sets the value of the parameter with this index to null in this PreparedStatement.

Specified by:
setNull in class JdbcTemplate
Parameters:
preparedStatement - The prepared statement whose parameter to set.
parameterIndex - The index of the parameter to set.
Throws:
java.sql.SQLException - when the value could not be set.


Copyright © 2012. All Rights Reserved.