Return-Path: X-Original-To: apmail-db-jdo-dev-archive@www.apache.org Delivered-To: apmail-db-jdo-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 94D7510C2C for ; Fri, 17 Jan 2014 17:06:21 +0000 (UTC) Received: (qmail 81720 invoked by uid 500); 17 Jan 2014 17:06:20 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 81693 invoked by uid 99); 17 Jan 2014 17:06:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jan 2014 17:06:20 +0000 Date: Fri, 17 Jan 2014 17:06:19 +0000 (UTC) From: "Craig L Russell (JIRA)" To: jdo-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (JDO-728) extension element for @Index, @ForeignKey, @Unique, @PrimaryKey annotations are needed. 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/JDO-728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13874958#comment-13874958 ] Craig L Russell commented on JDO-728: ------------------------------------- Don't we need a test case for this? > extension element for @Index, @ForeignKey, @Unique, @PrimaryKey annotations are needed. > --------------------------------------------------------------------------------------- > > Key: JDO-728 > URL: https://issues.apache.org/jira/browse/JDO-728 > Project: JDO > Issue Type: Improvement > Components: api, specification, tck > Affects Versions: JDO 3 update 1 (3.0.1) > Reporter: Baris ERGUN > Priority: Minor > Attachments: JDO-728.patch > > > JDO XSD for XML MetaData supports extension tag. But @Index does not have such elements. Ie I cannot specify @Index(members = {"sample"}, extension=......). Hope this will be included in new releases. The extension is used by ORM Frameworks in order to specify Index access method such HASH, GIST etc ... (these are postgresql specific) -- This message was sent by Atlassian JIRA (v6.1.5#6160)