On 2/2/2011 3:46 PM, Dag H. Wanvik wrote:
"Logan, Douglas"<[email protected]>  writes:

The following is also always null (As is kind of expected):
VALUES SYSCS_UTIL.SYSCS_GET_DATABASE_PROPERTY('derby.drda.host');

Does anyone have an idea on how I can get this value?
Not sure you can. There is no API to get at the values in
derby.properties. I guess you could make a stored procedure that could
read the file and find the value, though (given sufficient privileges if
you are running the server under the Java security manager).

I think NetworkServerControl.getProperties() should work, but haven't tried it myself.


Reply via email to