Insert into two different tables in one JDBC prepared statement
===

This command:

    INSERT INTO t1 values (d1)
    INSERT INTO t2 values (d2)

I want to run in one prepared statement.  Logically they should be transactional so wrapped in a block.  Is this possible in JDBC which I understand doesn't allow multiple SQL operations per update?