Java procedure objects

Replication Agent for UDB installs SYBRAUJAR.jar and SYBTRUNCJAR.jar into the following directories.

NoteIf more than one Replication Agent instance is configured for a UDB server–one Replication Agent instance for each database–a unique primary database user name must be specified in the pds_username configuration parameter for each Replication Agent instance. This is required to install and uninstall these .jar files.

These jar files implement several Java procedures in the UDB primary database. Table 3-5 lists the Java procedures that are created and used in log truncation.

Table 3-5: Java procedures for truncation

Procedure

Database name

Retrieves the name of the log file that contains the current LSN

prefixget_log_name_

Retrieves the version of the get_log_name Java class

prefixget_version_str_

Truncates the database log file or files from the archive log directory

prefixtrunc_log_files_

Retrieves the version of the trunc_log_files Java class

prefixget_trunc_ver_str_