Publishing Table
Publishing tables mirror tables that you have identified for monitoring. They contain additional columns, primarily a sequence number and delivery status, which are required by the adapter to detect new rows. You can create a publishing table for each table you want to activate in TIBCO Designer.
The trigger generated at design time automatically populates the values for these additional columns. For better results, do not modify these values.
In addition to a copy of the source table columns, the publishing table has the following additional columns.
|
Column Name |
Type |
Description |
|||||||||||||||
|
VARCHAR2(255) |
Used to specify the subject to publish the current row. Length is 255. You can set a message subject in this field which takes precedence over the default service subject. The adapter will publish this row with this new message subject. In group messaging, the group messages are sent to the subject set for the last row of the group. |
||||||||||||||||
|
INTEGER |
Stores the monotonically increasing sequence number that represents new rows in the publishing table. If a column with this name exists, the number is generated automatically. By default, the schema type is |
||||||||||||||||
|
INTEGER |
Currently not used. |
||||||||||||||||
|
DATE |
Time of row insertion in publishing table that is used to calculate expiration of rows. The timestamp is generated automatically. |
||||||||||||||||
|
ADB_TRACKINGID |
VARCHAR2(40) |
Tracking ID of the message. This is automatically added to the publishing table and the publishing schema. If you do not want to monitor the tracking ID, you can manually remove this field from the project schema and the publishing table. |
|||||||||||||||
|
INTEGER |
Operation code used by an adapter instance:
If an incoming TIBCO Rendezvous message does not have an operation code, an INSERT occurs. Note: When working with a parent-child table, it is good practice to set the ADB_OPCODE columns in the parent and child table to the same value. Or only set the value of the ADB_OPCODE column in the parent table and leave the child table empty. |
||||||||||||||||
|
INTEGER |
Currently not used. |
||||||||||||||||
|
ADB_REF_OBJECT |
VARCHAR2(64) |
When publishing by reference object is used, contains the name of the reference object that provides source data. |
|||||||||||||||
|
CHAR |
Delivery status of a TIBCO Rendezvous message:
|
||||||||||||||||
|
NUMBER(38, 0) |
Certified messaging sequence number associated with this message. |
|
Note |
When you use a publishing table, note the following conditions:
|
The publishing table cannot contain any user-created columns where the column name starts with ADB_. These characters are reserved for the adapter use.