public class AlterColumnNullabilityCommand extends AlterColumnCommand
Constructor and Description |
---|
AlterColumnNullabilityCommand(ConfluenceHibernateConfig hibernateConfig,
String columnName,
String oldDataType,
NullChoice nullChoice)
Create an alter column to null/not null action.
|
Modifier and Type | Method and Description |
---|---|
String |
getCommandName() |
String |
getCommandParameters() |
getColumnName, getHibernateConfig
public AlterColumnNullabilityCommand(ConfluenceHibernateConfig hibernateConfig, String columnName, String oldDataType, NullChoice nullChoice)
columnName
- The name of the column to alteroldDataType
- The original data type of the column, required because some DBs don't let you only alter the
null/not null property of the column. It is your responsibility to get this right.nullChoice
- Whether the column should be nullable or not null.public String getCommandName()
public String getCommandParameters()
Copyright © 2003–2017 Atlassian. All rights reserved.