From dev-return-16604-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Mon Jun 07 14:32:03 2010 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 57650 invoked from network); 7 Jun 2010 14:32:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Jun 2010 14:32:03 -0000 Received: (qmail 51267 invoked by uid 500); 7 Jun 2010 14:32:03 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 51221 invoked by uid 500); 7 Jun 2010 14:32:02 -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 51213 invoked by uid 99); 7 Jun 2010 14:32:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jun 2010 14:32:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jun 2010 14:32:00 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o57EVcvT013133 for ; Mon, 7 Jun 2010 14:31:38 GMT Message-ID: <10921981.2261275921098064.JavaMail.jira@thor> Date: Mon, 7 Jun 2010 10:31:38 -0400 (EDT) From: "Rick Curtis (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Closed: (OPENJPA-1612) Mapping an unsupported type In-Reply-To: <760585936.697291270502307174.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick Curtis closed OPENJPA-1612. -------------------------------- Resolution: Not A Problem Reverted previous commit. Closing this JIRA as a non-issue. > Mapping an unsupported type > --------------------------- > > Key: OPENJPA-1612 > URL: https://issues.apache.org/jira/browse/OPENJPA-1612 > Project: OpenJPA > Issue Type: Improvement > Components: kernel > Affects Versions: 1.2.2, 2.0.0, 2.1.0 > Reporter: Rick Curtis > Assignee: Rick Curtis > Priority: Minor > Fix For: 2.1.0 > > > As discussed on the dev mailing list [1]... > I found that the following mapping: > @Entity > public class AnnoTest1 { > @ManyToOne > Object o; > ... > } > This results in a warning message [2], but it is allowed. This JIRA will be used to detect this condition and fail fast. > [1] http://openjpa.markmail.org/thread/6yphicehgclyobag > [2] 297 TestConv WARN [main] openjpa.MetaData - OpenJPA cannot map field "test.AnnoTest1.o" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.