Returns a vector containing hash tables which represent the names, types, and values of the fields belonging to the operation at the position of elemAt. This method is meaningful only for insert, update, and stored procedure operations.
The hash table includes this information:
DBEventParser.FIELD_NAME=(String) <field name> DBEventParser.FIELD_TYPE=(Integer) <field type> DBEventParser.FIELD_VALUE=(Object) <field value>
where:
DBEventParser.FIELD_NAME = "FieldName", DBEventParser.FIELD_TYPE = "FieldType", DBEventParser.FIELD_VALUE = "FieldValue".
// Gets the fields of the first operation Vector dataVector = dbe.getData(0); Hashtable dataField = null; if (dataVector != null) { System.out.println("MyMsgGenerator-DataSize : " + dataVector.size()); for (int ido = 0; ido < dataVector.size(); ido++) { // returns a Hashtable containg the name, type, and // value of the (ido)th field dataField = (Hashtable) dataVector.elementAt(jdo); // Do something to retrieve the name, type and // value of the field } }