Starting Sample client program
Derby Server and Administration Guide
58
java SimpleNetworkClientSample
If the program runs successfully, you will receive output similar to that shown in the
following example:
Starting Sample client program
Got a client connection via the DriverManager.
connection from datasource;
Got a client connection via a DataSource.
Testing the connection obtained via DriverManager by executing a
sample query
number of rows in sys.systables = 16
Testing the connection obtained via a DataSource by executing a
sample query
number of rows in sys.systables = 16
Goodbye!