../web
. In this example the web directory is located
- at conf/web_dir
. The web.xml is expected to be found at conf/web_dir/WEB-INF/web.xml
.
- conf/symmetric-server.properties
file.
- engines
directory
- and to modify port settings and enable secure mode using the conf/symmetric-server.properties
.
- targetNodes
- collection which is bound to the script
- nodes
- . The list of
- nodes
- is a list of eligible
- org.jumpmind.symmetric.model.Node
- objects. The current data column values and the old data column values
- are bound to the script evaluation as Java object representations of the
- column data. The columns are bound using the uppercase names of the
- columns. Old values are bound to uppercase representations that are
- prefixed with 'OLD_'.
- org.jumpmind.symmetric.ISymmetricEngine
- is accessible via the bound
- engine
- variable.
- auto.config.database
- is set to true.) The router creates a table named the same as the table
- for which data was captured with the suffix of _AUDIT. It will contain
- all of the same columns as the original table with the same data types
- only each column is nullable with no default values.
- IColumnTransform
- interface. The pre-defined transform types include the following (the
- transform_type entry is shown in parentheses):
- system_date
- is the current system date,
- system_timestamp
- is the current system date and time,
- source_node_id
- is the node id of the source,
- target_node_id
- is the node id of the target,
- null
- is a null value, and old_column_value
is the column's old value prior to the DML operation,
- source_table_name
- is the name of the source table as captured in the trigger hist table,
- source_catalog_name
- is the name of the source catalog as captured in the trigger hist table,
- source_schema_name
- is the name of the source schema as captured in the trigger hist table.
- n
- , the beginning index), or a pair of comma-separated integers (
- n,m
- - the beginning and ending index). The transform behaves as the Java
- substring function would using the specified values in
- transform_expression.
- 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;
- sqlTemplate
- is a
- org.jumpmind.db.sql.ISqlTemplate
- object for querying or updating the database;
- channelId
- is a reference to the channel on which the transformation is happening;
- sourceNode
- is a
- org.jumpmind.symmetric.model.Node
- object that represents the node from where the data came;
- targetNode
- is a
- org.jumpmind.symmetric.model.Node
- object that represents the node where the data is being loaded.
- platform
- is the IDatabasePlatform that contains objects for the database platform, such as
- DatabaseInfo, IDdlReader, IDdlBuilder, and ISqlTemplate.
- context
- is the DataContext that contains information about current row and the data loader session, such as
- Batch, Table, and CsvData.
- column
- is the TransformColumn that contains information from the TRANSFORM_COLUMN configuration.
- data
- is the TransformedData that contains information about the source and target values being transformed,
- including the TransformTable.
- sourceValues
- is a Map<String, String> contain all source column values for the row.
- newValue
- is a String for the new value of the column.
- oldValue
- is a String for the old value of the column if the event is an update or delete.
- #{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.
- use_capture_lobs
to 1 on in the use_capture_lobs
the concatanated varchar string is cast to a clob which
- allows a length of more than 4k.
- db.treat.date.time.as.varchar.enabled
property
- to true
.
- characterEncoding
parameter in the JDBC URL.
- org.jumpmind.symmetric.io.data.IDataWriter
that
- is used by the SymmetricDS data loader. Data loaders are configured for a channel. After this extension point is registered it can
- be activated for a data_loader_type
column.
- transform_type
column of
- © 2007, 2008 Eric Long and Chris Henson
-xxxxx.properties
- that is placed in the engines directory of the SymmetricDS install. The
- file is usually named according to the engine.name, but it is not a
- requirement.
- http://{hostname}:{port}/{webcontext}/sync/{engine.name}
- .
-