db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathey Marsden <kmarsdende...@sbcglobal.net>
Subject Re: metadata / getClientInfo()
Date Mon, 25 Jul 2011 19:45:09 GMT
On 7/25/2011 12:35 PM, Dag H. Wanvik wrote:
> Thomas Hill<Thomas.K.Hill@t-online.de>  writes:
>
>> okay - true.
>> I was however wondering and wanted to test whether I could replace a
>> potentially in terms of performace more costly JDBC statement definition
>> and result set processing of a 'select session_user from sysibm.sysdummy1'
> or you could prepare a statement as 'VALUES SESSION_USER'.
>
How about conn.getMetaData().getUserName()



Mime
View raw message