O'Reilly logo

Apache Derby—Off to the Races: Includes Details of IBM® Cloudscape™ by Dan Scott, George Baklarz, Paul C. Zikopoulos

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Cataloging Apache Derby Databases

In the DRDA topology, each Apache Derby database is known only in relation to the Apache Derby Network Server that serves application requests to the database; therefore, to catalog a single database, you must tell the DB2 client which node it must connect to in order to access the database. Relative to all of the authentication methods available to the DB2 family of databases, the only authentication method that the Apache Derby Network Server supports is server-based authentication. Therefore, the syntax for cataloging an Apache Derby database on the DB2 client is as follows:

bash$ db2 CATALOG DATABASE database-name AT NODE node-name \
    AUTHENTICATION SERVER

For example, to catalog a database called YMLD on ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required