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

Summary

This chapter has covered a large amount of information on the use of the JDBC API within Apache Derby.

The first section of this chapter covered the basics of a JDBC application, including what imports to use, what driver is required, and how to connect to a database. Then the basic mechanics of allocating statements and executing simple DDL commands were reviewed, along with how to trap SQL errors and warnings in the application.

The second section examined the mechanics of creating, retrieving, and determining the contents of result sets. In particular, the ability to dynamically determine the data type, name, width, and other control information for columns in an answer set was explored in detail.

The third section examined prepared ...

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