On 7/25/2011 12:35 PM, Dag H. Wanvik wrote:
Thomas Hill<[email protected]> 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()
