Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 29321 invoked from network); 26 Oct 2006 07:20:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2006 07:20:40 -0000 Received: (qmail 85199 invoked by uid 500); 25 Oct 2006 18:47:56 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 85168 invoked by uid 500); 25 Oct 2006 18:47:56 -0000 Mailing-List: contact open-jpa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: open-jpa-dev@incubator.apache.org Delivered-To: mailing list open-jpa-dev@incubator.apache.org Received: (qmail 85158 invoked by uid 99); 25 Oct 2006 18:47:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Oct 2006 11:47:56 -0700 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of kwsutter@gmail.com designates 66.249.92.174 as permitted sender) Received: from [66.249.92.174] (HELO ug-out-1314.google.com) (66.249.92.174) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Oct 2006 11:47:44 -0700 Received: by ug-out-1314.google.com with SMTP id y2so220487uge for ; Wed, 25 Oct 2006 11:47:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=espYgXoHmqFV5Tn8AaQJDS3rSupmTHUGh2nPL9AoU7bn+RbWsH58ebzbC+Rp9tIPltqEgZ+zkx0tqev8DG2oYdhkj+np7xGGye+8xh2jTVLPWnrL9O8Mq5BWLC2f1OeKtS30qTwDhOvaEhVm8Z+AoeAaKO7l3nl2snGC5xc5YzA= Received: by 10.78.160.2 with SMTP id i2mr275084hue; Wed, 25 Oct 2006 11:47:22 -0700 (PDT) Received: by 10.78.128.3 with HTTP; Wed, 25 Oct 2006 11:47:22 -0700 (PDT) Message-ID: <89c0c52c0610251147t71a9b430mad9d5f21557d5e4f@mail.gmail.com> Date: Wed, 25 Oct 2006 13:47:22 -0500 From: "Kevin Sutter" To: open-jpa-dev@incubator.apache.org Subject: Support of Collections of embedded and/or value types? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_16905_8828192.1161802042777" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_16905_8828192.1161802042777 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I thought we (OpenJPA) supported the mapping of Collections of embedded types. But, a user of our OpenJPA offering pointed out to me that they couldn't get it to work. I looked at the most recent documentation, and it looks like section 1.6 of Chapter 4 has been modified (via SVN revision 452243) to not include this support. It used to state: Note OpenJPA also supports arrays, java.lang.Number, java.util.Locale, all JDK 1.2 Set , List, and Map types, collections and maps of immutable and embedded as well as entity types, and many other mutable and immutable field types. OpenJPA also allows you to plug in support for custom types. But, now the Note states: Note OpenJPA also supports arrays, java.lang.Number, java.util.Locale, all JDK 1.2 Set, List, and Map types, and many other mutable and immutable field types. OpenJPA also allows you to plug in support for custom types. So, did we remove the support for Collections and Maps? Was it ever provided? Should it have been provided? I'm just wondering whether this is something that we need to address via a defect/feature, or whether it was an oversight in the code drop? It sounds like Hibernate provides similar support, so it would be good to "keep up". Thanks, Kevin ------=_Part_16905_8828192.1161802042777--