> A transaction is required to keep the portal (protocol level cursor)
> open. In autocommit mode, each batch fetched runs in its own
> transaction. So after the first batch is fetched, the autocommit
> transaction ends and the cursor is destroyed. So the next batch fetch
> cannot work.
what about to create transaction for each Statement in autocommit mode.
after calling statement.close() close automatically created transaction.