Statement stmt = conn.createStatement();
stmt.executeUpdate(sql);
conn.commit();
} catch (SQLException sqlexception) {
sqlexception.printStackTrace(System.out);
jdbccontext.rollbackTransaction();
throw sqlexception;
}
} finally {
if (!channelOpen) {
adaptorChannel.closeChannel();