You can create replication definitions for Java columns using create replication definition and the rawobject and rawobject in row datatypes.
When creating a replication definition:
rawobject values have replication status. You can choose whether they are always replicated or replicated only if changed. They also have null status.
See “Replicating text, unitext, image, and rawobject columns” for information about replication for rawobject columns.
rawobject in row values do not have replication or null status.
rawobject and rawobject in row values:
Cannot be part of the primary key.
Cannot be evaluated in subscription expressions. Java columns are not searchable, and thus they cannot be used in a subscription or article where clause.
This example creates a sample replication definition p1 for a table t that contains Java columns.
create replication definition p1 with primary at ds.db with all tables name t (c1 int, c2 rawobject null, c3 rawobject not null, c4 rawobject in row) primary key (c1) replicate_if_changed (c2) always_replicate (c3)
Columns c2 and c3 are rawobject columns; they have replication and null status. Column c4 is a rawobject in row column; it does not have replication or null status. Columns c2, c3, and c4 are neither part of the primary key nor are they searchable.