src/main/java/de/cimt/talendcomp/exasol/AbstractEXASCDHelper.java
protected void executeStatement(String statement) throws Exception {
		checkConnection();
		Statement stat = connection.createStatement();
		try {
			// logging done in other methods
			// logStatement(statement, null);
			if (doNotExecute == false) {
				stat.execute(statement);
			}
		} catch (Exception e) {
			if (useInternalConnection) {
				connection.rollback();
			}
			if(e instanceof SQLException) {
				e.printStackTrace();
			}
			throw e;
		} finally {
			if (stat != null) {
				try {
					stat.close();
				} catch (Exception d) {
				}
			}
		}
	}
/*
	 * execute statement if (!doNotExecute). No commit, but rollback on error
	 */
execute statement if (!doNotExecute). No commit, but rollback on error
execute statement if ( !doNotExecute ) . No commit but rollback on error
protected void executeStatement(String statement) throws Exception {
		checkConnection();
		Statement stat = connection.createStatement();
		try {
			if (doNotExecute == false) {
				stat.execute(statement);
			}
		} catch (Exception e) {
			if (useInternalConnection) {
				connection.rollback();
			}
			if(e instanceof SQLException) {
				e.printStackTrace();
			}
			throw e;
		} finally {
			if (stat != null) {
				try {
					stat.close();
				} catch (Exception d) {
				}
			}
		}
	}
protected void executeStatement ( String statement ) throws Exception { checkConnection ( ) ; Statement stat = connection . createStatement ( ) ; try { if ( doNotExecute == false ) { stat . execute ( statement ) ; } } catch ( Exception e ) { if ( useInternalConnection ) { connection . rollback ( ) ; } if ( e instanceof SQLException ) { e . printStackTrace ( ) ; } throw e ; } finally { if ( stat != null ) { try { stat . close ( ) ; } catch ( Exception d ) { } } } }
execute statement if (!doNotExecute).
execute statement if ( !doNotExecute ) .
// logging done in other methods // logStatement(statement, null);