Return-Path: X-Original-To: apmail-openjpa-users-archive@minotaur.apache.org Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6DF50E687 for ; Thu, 24 Jan 2013 14:34:52 +0000 (UTC) Received: (qmail 43296 invoked by uid 500); 24 Jan 2013 14:34:52 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 42922 invoked by uid 500); 24 Jan 2013 14:34:47 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 42873 invoked by uid 99); 24 Jan 2013 14:34:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2013 14:34:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kwsutter@gmail.com designates 209.85.217.173 as permitted sender) Received: from [209.85.217.173] (HELO mail-lb0-f173.google.com) (209.85.217.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2013 14:34:38 +0000 Received: by mail-lb0-f173.google.com with SMTP id gf7so6439116lbb.32 for ; Thu, 24 Jan 2013 06:34:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=CdxHiokYILpg/C9g9UNM/Zs4+E/QkGTEugygQ0HMnE4=; b=dTiJ0HZbvrmMKQ98GukTTE9AaV27UDa9g79SeUbOCBYfendlmp2NX5uvkrVg+akXLh UmjamWNGWzDJ6xwXmgFZKEBC+0fGZg/fSwzTaxOSgVZ2COIWKZ9BiZXN4ViPFIgOLlle rJ6a9ipCJ/OeUu+9ttIOvcZWtXb5wf0TGUgTiiCJof3dhHDVDUTCtCoESb0Z5CkOHtgB ajXSM/xvxT6tvQL/McDMsjozTgrZhtNV1GxkExYy+5+uxA9VS7EnIoyhD2KH6UghYoE0 qqKP/CeVg002q36xoAHA6lU6DmUD3xvB3LT6QWxXuZaIiYDlieAejR1UkVBfG6CIQo0D iutA== X-Received: by 10.112.46.37 with SMTP id s5mr892111lbm.67.1359038057269; Thu, 24 Jan 2013 06:34:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.154.169 with HTTP; Thu, 24 Jan 2013 06:33:57 -0800 (PST) In-Reply-To: <50fef26c.2605650a.1e3b.ffffafe0@mx.google.com> References: <50fef26c.2605650a.1e3b.ffffafe0@mx.google.com> From: Kevin Sutter Date: Thu, 24 Jan 2013 08:33:57 -0600 Message-ID: Subject: Re: OpenJPA + Native Query = Meta Data To: users@openjpa.apache.org Content-Type: multipart/alternative; boundary=bcaec554e156a3ca2904d409b490 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec554e156a3ca2904d409b490 Content-Type: text/plain; charset=ISO-8859-1 Not that I am aware of... Of course, OpenJPA has access to and utilizes the metadata while processing the result set, but I don't see a means of providing that metadata back to the application. Since OpenJPA is open-source, we always welcome new feature submissions... :-) One alternative that might work for you is to tie into OpenJPA's JDBC Listeners [1]. If you tied into the post execute statement listener, you could get access to the jdbc-related artifacts and do your own parsing of the information. Maybe not quite as easy as the eclipselink feature, but would that provide the metadata you are looking for? Kevin [1] http://people.apache.org/~mikedd/nightly.builds/apache-openjpa-2.3.0-SNAPSHOT/docs/docbook/manual.html#openjpa.jdbc.JDBCListeners On Tue, Jan 22, 2013 at 2:11 PM, Will Hoover wrote: > Is there any feature in OpenJPA that will allow capture of a queries > metadata (similar to "eclipselink.result-type"="Map")? > > > > I'm trying to capture a rowid from a native query update call. > > > > > > --bcaec554e156a3ca2904d409b490--