IBM Support

ADD LIBRARY LIST support to JDBC 4.0 getSchemas() method

News


Abstract

ADD LIBRARY LIST support to JDBC 4.0 getSchemas() method

Content

You are in: IBM i Technology Updates > Db2 for i - Technology UpdatesDb2 for i Functional Enhancements > ADD LIBRARY LIST support to JDBC 4.0 getSchemas() method

The JDBC 4.0 getSchemas(String catalog, String schemaPattern) method is enhanced to accept special values for the schemaPattern parameter.
'*LIBL' - return the library list of the thread
'*USRLIBL' - return the user portion of the library list of the thread
Example usage:
getSchemas(NULL, '*LIBL');

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Component":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
14 January 2020

UID

ibm11167688