generateProcedure(java.lang.String pProcedureName,
java.lang.Number pOdiActionGroupId,
java.lang.Number pOdiFolderId,
DDLDifferences pDDLDifferences)
Invokes the DDL generator service to create a procedure with all DDL
statements that match the list of differences defined in the
pDifferences parameter.

Method Detail

computeDDLDifferences

Computes a DDLDifferences object for a given ODI Model ID.
Note that the differences are calculated between the saved repository model
and the database. Changes applied to the model that are not saved will not be
used to calculate the differences.

Parameters:

pOdiModelId - Existing ODI Model ID

pOdiContextCode - Context Code for existing OdiContext used to access the tables in a schema.

pProcessTablesOutsideOfModel - Indicator to ask the generator if it needs to compare all tables of
the schema with the tables of the ODI Model or limit only to the
tables already defined in the ODI model.

Returns:

The DDLDifference object that exposes the list of differences

Throws:

java.lang.IllegalArgumentException - if the pContextCode is not set or pOdiModelId is not set.