From 404b13ac06dee65cddfb2d9390d1e97048d4ffd6 Mon Sep 17 00:00:00 2001 From: eegeek Date: Thu, 18 Aug 2011 14:03:00 +0000 Subject: [PATCH] SYMMETRICDS-462 - Transforms - new "variable" and "identity" transform types. --- .../symmetric-assemble/src/docbook/configuration.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/symmetric/symmetric-assemble/src/docbook/configuration.xml b/symmetric/symmetric-assemble/src/docbook/configuration.xml index 716685943a..71cf08ad5e 100644 --- a/symmetric/symmetric-assemble/src/docbook/configuration.xml +++ b/symmetric/symmetric-assemble/src/docbook/configuration.xml @@ -1040,12 +1040,18 @@ insert into sym_trigger_router (TRIGGER_ID,ROUTER_ID,INITIAL_LOAD_ORDER, - Bean Shell Transform ('bsh'): This transformation allows you to provide a Bean Shell script in transform_expression and executes the script at the time of transformation. + Shell Script Transform ('bsh'): This transformation allows you to provide a Bean Shell script in transform_expression and executes the script at the time of transformation. Some variables are provided to the script: COLUMN_NAME is a variable for a source column in the row, where the variable name is the column name in uppercase; currentValue is the value of the current source column; oldValue is the old value of the source column for an updated row; jdbcTemplate is a Spring JdbcTemplate object for querying or updating the database. - + + + Variable Transform ('variable'): This transformation allows you to place a dynamic variable (such as the current database time) into the target column. + + + Identity Transform ('identity'): This transformation allows you to insert into a identity column by computing a new identity, not copying the actual identity value from the source. +