Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 45595 invoked from network); 3 Apr 2010 16:43:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Apr 2010 16:43:48 -0000 Received: (qmail 720 invoked by uid 500); 3 Apr 2010 16:43:48 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 685 invoked by uid 500); 3 Apr 2010 16:43:48 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 676 invoked by uid 99); 3 Apr 2010 16:43:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Apr 2010 16:43:48 +0000 X-ASF-Spam-Status: No, hits=-1212.1 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Apr 2010 16:43:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 52DB1234C4AC for ; Sat, 3 Apr 2010 16:43:27 +0000 (UTC) Message-ID: <15094048.674891270313007338.JavaMail.jira@brutus.apache.org> Date: Sat, 3 Apr 2010 16:43:27 +0000 (UTC) From: "Oliver Ringel (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Updated: (OPENJPA-1611) Wrong PersistentAttributeType returned for @Embedded types In-Reply-To: <162639761.674851270312887885.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OPENJPA-1611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Ringel updated OPENJPA-1611: ----------------------------------- Attachment: openjpa-1611.tar Here is the test case. > Wrong PersistentAttributeType returned for @Embedded types > ---------------------------------------------------------- > > Key: OPENJPA-1611 > URL: https://issues.apache.org/jira/browse/OPENJPA-1611 > Project: OpenJPA > Issue Type: Bug > Components: jpa > Affects Versions: 2.0.0 > Reporter: Oliver Ringel > Attachments: openjpa-1611.tar > > > Attribute.getPersistentAttributeType() should return PersistentAttributeType.EMBEDDED for @Embedded types. > It returns PersistentAttributeType.ONE_TO_ONE now. > I guess this also has effects on Attribute.isAssociation() which returns true for @Embedded types. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.