public boolean deleteUnit(long id) {
		boolean result = false;
		String queryString = "DELETE FROM UNIT WHERE ID = ?;";
		try {
			pst = getConnection().prepareStatement(queryString);
			pst.setLong(1, id);
			if (pst.execute() && pst.getUpdateCount() == 1) {
				result = true;
			}
		} catch (SQLException e) {
			e.printStackTrace();
		} finally {
			closeResources();
		}
		return result;
	}