Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 88429 invoked from network); 11 Apr 2011 21:06:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Apr 2011 21:06:43 -0000 Received: (qmail 46374 invoked by uid 500); 11 Apr 2011 21:06:43 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 46318 invoked by uid 500); 11 Apr 2011 21:06:43 -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 46310 invoked by uid 99); 11 Apr 2011 21:06:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 21:06:43 +0000 X-ASF-Spam-Status: No, hits=-1998.7 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD,URI_HEX X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 21:06:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B175E9D14F for ; Mon, 11 Apr 2011 21:06:05 +0000 (UTC) Date: Mon, 11 Apr 2011 21:06:05 +0000 (UTC) From: "Heinz Striebeck (JIRA)" To: dev@openjpa.apache.org Message-ID: <1143093590.50483.1302555965708.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (OPENJPA-1977) Final methods are not supported but documentation sais they are MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Final methods are not supported but documentation sais they are --------------------------------------------------------------- Key: OPENJPA-1977 URL: https://issues.apache.org/jira/browse/OPENJPA-1977 Project: OpenJPA Issue Type: Bug Components: jpa Affects Versions: 2.1.0 Reporter: Heinz Striebeck Priority: Minor See http://openjpa.208410.n2.nabble.com/Issues-with-GeneratedValue-and-SequenceGenerator-td6244055.html When using final methods for the id field, the generated id is unavailable for the application. According to the mailing list, final methods are not supported, but the OpenJPA documentation sais so: http://openjpa.apache.org/builds/2.1.0/apache-openjpa-2.1.0/docs/manual/jpa_overview_pc.html#jpa_overview_pc_final So at least the documentation should be changed. An error message at runtime would also be fine - that would be also related to https://issues.apache.org/jira/browse/OPENJPA-465 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira