java.lang.Object | |
↳ | com.atlassian.jira.upgrade.util.UpgradeUtils |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the exact column name according to the database.
| |||||||||||
This will return the current build version of JIRA present in the database.
| |||||||||||
This method is used to verify if a named table exists or not within the database.
| |||||||||||
Transform a column in a table into another column on that same table.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Returns the exact column name according to the database. This is found by case insensitively looking for the given column on the given table.
tableName | Table name |
---|---|
columnName | Column name |
This will return the current build version of JIRA present in the database. If JIRA has not been setup then 0 (zero) will be returned as the currnet build number.
This method is used to verify if a named table exists or not within the database.
tableName | is the name of the table to look for. |
---|
DataAccessException | If there is an error getting a DB connection, or getting the DB meta data |
---|
Transform a column in a table into another column on that same table. If the source object is null, then the target field will not be set
tableName | name of table @Nonnull |
---|---|
sourceColumn | name of source column @Nonnull |
targetColumn | name of target columns @Nonnull |
transformer | the transformer used to transform the column |