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":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Component":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
14 January 2020

UID

ibm11167688