Return-Path: X-Original-To: apmail-db-derby-user-archive@www.apache.org Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EC7EC6DB0 for ; Mon, 25 Jul 2011 16:26:07 +0000 (UTC) Received: (qmail 95873 invoked by uid 500); 25 Jul 2011 16:26:07 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 95796 invoked by uid 500); 25 Jul 2011 16:26:06 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 95785 invoked by uid 99); 25 Jul 2011 16:26:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jul 2011 16:26:06 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [141.146.126.227] (HELO acsinet15.oracle.com) (141.146.126.227) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jul 2011 16:25:57 +0000 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p6PGPYkn031340 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 25 Jul 2011 16:25:36 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p6PGPYDa023863 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 25 Jul 2011 16:25:34 GMT Received: from abhmt116.oracle.com (abhmt116.oracle.com [141.146.116.68]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p6PGPSWW003179 for ; Mon, 25 Jul 2011 11:25:28 -0500 Received: from localhost (/188.113.85.108) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 25 Jul 2011 09:25:28 -0700 From: dag.wanvik@oracle.com (Dag H. Wanvik) To: "Derby Discussion" Subject: Re: metadata / getClientInfo() References: Date: Mon, 25 Jul 2011 18:25:25 +0200 In-Reply-To: (Thomas Hill's message of "Sat, 23 Jul 2011 10:33:27 +0000 (UTC)") Message-ID: User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A020207.4E2D9900.00C4:SCFMA922111,ss=1,re=-4.000,fgs=0 Thomas Hill writes: > Hi, > > I am on version 10.7.1.1 and have read manuals and searched the net trying to > find out how to obtain the *user* property used on the connectionURL from within > a stored procedure. > The attempt to use the connection object and getClientInfoProperty("user") just > returns null. SESSION_USER should give this, I think? Dag > > Thanks for your support > Thomas