Re: Retrieving current username within table function

2018-02-13 Thread Nigel Jones
Hillegas <rick.hille...@gmail.com> wrote: > On 2/8/18 10:57 AM, Nigel Jones wrote: > > Newbie warning ... > > I'm trying to figure out how I could determine the current username when > in a table function (in fact I'm writing some java code that plugs into > someone else'

Retrieving current username within table function

2018-02-08 Thread Nigel Jones
Newbie warning ... I'm trying to figure out how I could determine the current username when in a table function (in fact I'm writing some java code that plugs into someone else's table function ...) I was originally thinking of something like the snippet below. However this doesn't work (I get

Connecting to Apache Derby using DB2 unified driver

2017-11-08 Thread Nigel Jones
What's known about how well this works? I need to access a data source from a platform where I can't add the Apache Derby JDBC driver, but db2 is supported. Do current versions of the db2 unified driver (db2jcc4.jar) still support Apache Derby? (as it happens I'm using an old version 10.8