Oracle JDBC API Reference
11g Release 2 ("11.2.0.3.0")

oracle.jdbc.dcn
Interface TableChangeDescription


public interface TableChangeDescription

This interface describes a database change at the table level.

The information includes:

Since:
11.1

Nested Class Summary
static class TableChangeDescription.TableOperation
           
 
Method Summary
 int getObjectNumber()
          Returns the object number (Oracle internal information).
 RowChangeDescription[] getRowChangeDescription()
          Returns the row level change description of the notification.
 java.lang.String getTableName()
          Returns the name of the table.
 java.util.EnumSet<TableChangeDescription.TableOperation> getTableOperations()
          Returns the table operations that affected this table.
 

Method Detail

getTableOperations

java.util.EnumSet<TableChangeDescription.TableOperation> getTableOperations()
Returns the table operations that affected this table.

More than one operation can have affected this table. For example, one row can have been inserted and another can have been deleted. So this method returns an EnumSet of TableOperation.

The row level description will contain the details but it isn't always available.


getTableName

java.lang.String getTableName()
Returns the name of the table.


getObjectNumber

int getObjectNumber()
Returns the object number (Oracle internal information).


getRowChangeDescription

RowChangeDescription[] getRowChangeDescription()
Returns the row level change description of the notification.

The row level change description is only available if the operation is a DML operation such as insert, update or delete.


Oracle JDBC API Reference
11g Release 2 ("11.2.0.3.0")

Copyright © 1998, 2007, Oracle. All rights reserved.