public class DropColumnSqlCommands extends SqlCommand
| Constructor and Description |
|---|
DropColumnSqlCommands(String... columnName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandleInJdbcTemplate() |
protected void |
dropColumn(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
Connection connection,
String name) |
void |
handle(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
Connection connection) |
protected boolean |
hasColumn(Connection connection,
String schemaName,
String tableName,
String columnName) |
from, from, getCommand, getSuppressedErrorCodespublic DropColumnSqlCommands(String... columnName)
public void handle(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
Connection connection)
handle in class SqlCommandpublic boolean canHandleInJdbcTemplate()
canHandleInJdbcTemplate in class SqlCommandprotected void dropColumn(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
Connection connection,
String name)
throws SQLException
SQLExceptionprotected boolean hasColumn(Connection connection, String schemaName, String tableName, String columnName) throws SQLException
SQLExceptionCopyright © 2024 Pivotal Software, Inc.. All rights reserved.