Hello.

The modeler does this to be able to display the sql before executing it. Create a subclass of MergerContext and override its executeSql(String).

 - Tore.

On Aug 26, 2008, at 9:51 , Øyvind Harboe wrote:

The merge stuff can produce some pretty wicked stuff.

However, I would like to have the ability to extract the SQL statements
that a merge token results in.

The database administrator can then manually verify that column X and
table Y should indeed be deleted... :-)

Do I just upcast to AbstractToDbToken and invoke createSql() directly?

--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer


Reply via email to