CREATE WRAPPER statement - Examples for the JDBC wrapper
Use the CREATE WRAPPER statement to register the JDBC wrapper.
To register a wrapper with the default name on a federated
server, run the CREATE WRAPPER statement with the JDBC wrapper name,
for example:
CREATE WRAPPER JDBC;
In the following examples, jdbc_Wrapper is the alternative name that you assign to the wrapper that you register in the federated database.
Linux federated server
The following
example shows you how to register a wrapper with an alternative name:
CREATE WRAPPER jdbc_Wrapper LIBRARY 'libdb2rcjdbc.so'';
AIX federated server
The following example
shows you how to register a wrapper with an alternative name:
CREATE WRAPPER jdbc_Wrapper LIBRARY 'libdb2rcjdbc.a';
Windows federated server
The following example
shows you how to register a wrapper with an alternative name:
CREATE WRAPPER jdbc_Wrapper LIBRARY 'db2rcjdbc.dll';