Code example for Connection

Methods: setAutoCommit, setTransactionIsolation

0
				e.printStackTrace();
				System.exit(-1);
			} 
 
		try { 
			databaseConnection.setAutoCommit(false);
			databaseConnection
					.setTransactionIsolation(Connection.TRANSACTION_SERIALIZABLE);
		} catch (SQLException e) {
			e.printStackTrace();
			System.exit(-1);
		} 
	} 
 
	@Override 
	protected Object clone() throws CloneNotSupportedException {
		throw new CloneNotSupportedException();
	} 
 
	/** 
	 * This method executes the given select query on the database to which this