Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 26AE0200CBE for ; Fri, 7 Jul 2017 12:57:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2546C168D64; Fri, 7 Jul 2017 10:57:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6C9DE168D60 for ; Fri, 7 Jul 2017 12:57:26 +0200 (CEST) Received: (qmail 27508 invoked by uid 500); 7 Jul 2017 10:57:25 -0000 Mailing-List: contact dev-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list dev@cayenne.apache.org Received: (qmail 27494 invoked by uid 99); 7 Jul 2017 10:57:25 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jul 2017 10:57:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id BD4A7C00B6 for ; Fri, 7 Jul 2017 10:57:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.397 X-Spam-Level: X-Spam-Status: No, score=-0.397 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id TCvxHiz-0IiK for ; Fri, 7 Jul 2017 10:57:23 +0000 (UTC) Received: from mail-ua0-f175.google.com (mail-ua0-f175.google.com [209.85.217.175]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 7EE5C5F30C for ; Fri, 7 Jul 2017 10:57:23 +0000 (UTC) Received: by mail-ua0-f175.google.com with SMTP id g40so17774541uaa.3 for ; Fri, 07 Jul 2017 03:57:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=SGPzmzbmYyizSUeIdPJYccnRmMAz/LIc/bpZ7WPfwwI=; b=YS9f9R2zVeKWEcmL46jaz1ovqDaamxcBCCXN33aBC8HLO6SHDGYQwCtkYu8ebHLIR9 TWQoasqlneHUYifDXsy8mhWMuWEUCw6AIWB8MWmwW8CL9wPE2VM0P5CxC3nOFzOeHw0s RIUjpUY8rgNjB389cTvVoOqDzHwf8Vt9bHkeIDPam24Rt4EdymkWnpgGqJXJI2OHvB0/ 9/3zjpbRBQ75T6SZcY0v32csKBgSoSD8eGu7Sj5yKg9+fwjGQOnKemy/tguLNOHm7U75 VNvRKQEfKtN/fxxxwPgsoAvzLRTOnVLxWvMBkw3mTM7ulg/dWJXXw/W/rSz8Zp6Ks5GB akOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=SGPzmzbmYyizSUeIdPJYccnRmMAz/LIc/bpZ7WPfwwI=; b=Pj3IPbDsQJTvBQ7HLFup2qe0jvj7xSq1A8VB88wtl1tcpPIrV9LyuBnVw6NeYafHUk FOb4MZce9F93OVDjuBAx+0NF+wmuliCAd4uN5EkHhbQRAAZhi+yZlE6FJ7uHYvjHNNV5 fUvegTO/CPzzBLAo5W0IWKeqvMqrvO4ZFhbxM6DxM2UvIPPO6U5QF9f5ZUP0J8ZXF0YM lCaohGbQeIkxqvKaAcnml9h9nJFjOnbOFwAGRREy6qZWWvXPN0QlbuIV6pHWD1E1i7GM BnZjhqkYDifqzXk+/+SBhwF6G3rr/O/tK4L+eCzi2YagmFHpVmdAp8808zdK8Gs7LBr1 pirQ== X-Gm-Message-State: AIVw113/5J3kdcIcMyq25lkiejFVytRJ/VaQY/slbeUKIzNSDCkiOrtW vmDqUxUhCUd2vsgQ9wxV1E3ojp0LxE0H X-Received: by 10.159.39.227 with SMTP id b90mr329827uab.105.1499425037203; Fri, 07 Jul 2017 03:57:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.146.204 with HTTP; Fri, 7 Jul 2017 03:56:46 -0700 (PDT) In-Reply-To: <8329E4BF-9EC0-4028-9034-C5028CA15300@objectstyle.org> References: <76F4849B-4D6F-40A2-9011-6F527F17B1A7@roxanemy.com> <8329E4BF-9EC0-4028-9034-C5028CA15300@objectstyle.org> From: Michael Gentry Date: Fri, 7 Jul 2017 06:56:46 -0400 Message-ID: Subject: Re: Cayenne object storage / memory usage To: Cayenne Development Content-Type: multipart/alternative; boundary="94eb2c1244a2b5bedf0553b81876" archived-at: Fri, 07 Jul 2017 10:57:27 -0000 --94eb2c1244a2b5bedf0553b81876 Content-Type: text/plain; charset="UTF-8" On Fri, Jul 7, 2017 at 1:54 AM, Andrus Adamchik wrote: > 2. A user code that relies on the Map structure to store unmapped > properties ("CayenneDataObject.writePropertyDirectly" will not check the > key validity). > I'd suggest people who need to store unmapped properties create their own separate map/attributes to store them in. If they choose to store unmapped properties in a map, they can easily have their own custom superclass that makes a map available to their objects. mrg --94eb2c1244a2b5bedf0553b81876--