getBaselineTokenData()
Used by the upgrader for migration to new token vault; gets rows of tokens from the baseline (application) table.
This function is used by the upgrader to get a set of rows from the baseline (application) table that stores tokens in order to perform required migration of token vault data before inserting it into the new token vault.
This is called multiple times; on every call it must return the token values from the application table that do not (yet) exist in the new token vault.
Syntax
public void getBaselineTokenData (Connection[] conn, PreparedStatement[] stmt, String baseTableName, String baseColumnName, String newTokenVault, ResultSet[] rs) throws SQLException
Request Parameters
Parameter | Type | Description |
---|---|---|
conn[] | Array | If the 0th element of this array is null, the function must create new database connection, and save it into the 0th element of this array of connections to the database. |
stmt[] | Array | If the 0th element of this array of database statement handles is not null, the statement handle stored in this element must be closed. Then, new statement handle must be opened and stored in the 0th element of this array. This is done to ensure that the statement is always operating on the most recent set of data. |
baseTableName | String | Name of the application table containing tokens. |
baseColumnName | String | Name of the column in the application table that contains tokens. |
newTokenVault | String | Name of the new token vault. |
rs[] | Array | If the 0th element of this array of database result sets is not null, the result set handle stored in this element must be closed. Then, a new result set must be created by executing the query described above, and the handle of this result set must be stored in the 0th element of this array. No operations must be performed on this result set once it is created; the framework will read data from this array of database result sets as required. |