Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2E73AF334 for ; Wed, 10 Apr 2013 21:07:16 +0000 (UTC) Received: (qmail 50697 invoked by uid 500); 10 Apr 2013 21:07:16 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 50666 invoked by uid 500); 10 Apr 2013 21:07:16 -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 50526 invoked by uid 99); 10 Apr 2013 21:07:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Apr 2013 21:07:15 +0000 Date: Wed, 10 Apr 2013 21:07:15 +0000 (UTC) From: "Jeremy Bauer (JIRA)" To: dev@openjpa.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (OPENJPA-2207) Problems with numeric column name 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-2207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeremy Bauer updated OPENJPA-2207: ---------------------------------- Fix Version/s: 1.2.3 > Problems with numeric column name > --------------------------------- > > Key: OPENJPA-2207 > URL: https://issues.apache.org/jira/browse/OPENJPA-2207 > Project: OpenJPA > Issue Type: Bug > Affects Versions: 1.0.0, 2.2.0 > Reporter: Dianne Richards > Assignee: Dianne Richards > Fix For: 1.2.3 > > > When a numeric column name is specified with a single number (ex: "1"), incorrect sql is generated. The sql is supposed to have a single set of double quotes around the name. Different incorrect sql is generated, depending on the release. For JPA 1.0 releases, there are no quotes (ex: 1). For JPA 2.0 releases, there are 2 sets of double quotes (ex: ""1""). This problem appears to exist for other DB identifiers also. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira