Handling RowID's returned as part of DB events through a listener:
class DCNDemoListener implements DatabaseChangeListener
{
DBChangeNotification demo;
DCNDemoListener(DBChangeNotification dem)
{
demo = dem;
}
public void onDatabaseChangeNotification(DatabaseChangeEvent e)
{
System.out.println(e.toString());
}
}
For Example: Below are the values returned from database on DML operation
ROW: operation=UPDATE, ROWID=AAASjgAABAAAVapAAA
Using the above ROWID's I want to update/insert into another table in database. How do I do this? Do I have first store the RowId's in cache or is there any other way to insert/update using queries