private void setInsertStatementValues(PreparedStatement pstmt,
			String[] columns, String[] values, Double[] doubleValues)
			throws MobbedException {
		int numColumns = columns.length;
		int i = 0;
		int j = 0;
		try {
			for (int k = 0; k < numColumns; k++) {
				int targetType = lookupTargetType(columns[k]);
				if (!isEmpty(doubleValues) && targetType == Types.DOUBLE) {
					if (doubleValues[i] != null)
						pstmt.setDouble(k + 1, doubleValues[i]);
					else
						pstmt.setObject(k + 1, doubleValues[i]);
					i++;
				} else {
					pstmt.setObject(k + 1, values[j], targetType);
					j++;
				}
			}
		} catch (SQLException ex) {
			throw new MobbedException("Could not set value\n" + ex.getMessage());
		}
	}