m_engine.addOperation(obj, new Insert(table));
DML ins = new Insert(table); ins.set(getKey(table), RDBMSEngine.getKeyValue(obj)); m_engine.addOperation(obj, ins);
    private void onObjectEvent(ObjectEvent e) {        Object obj = e.getObject();        Collection tables = e.getObjectMap().getTables();        for (Iterator it = tables.iterator(); it.hasNext(); ) {            Table table = (Table) it.next();            if (e instanceof CreateEvent) {                m_engine.addOperation(obj, new Insert(table));            } else if (e instanceof DeleteEvent) {                Column key = getKey(table);                DML del =                    new Delete(table, new EqualsCondition(getPath(key), KEY));                del.set(KEY, RDBMSEngine.getKeyValue(obj), key.getType());                m_engine.addOperation(obj, del);            } else {                throw new IllegalArgumentException                    ("not a create or delete event");            }        }    }