O'Reilly logo

Ivor Horton's Beginning Java™ 2, JDK™ 5th Edition by Ivor Horton

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

Chapter 25. The JDBC in Action

In this chapter I'll expand on the topics that I introduced in the previous chapter, and go into more detail on the Java Database Connectivity (JDBC) application program interface (API). In this chapter you're going to learn more about:

  • How you map relational data onto Java objects

  • The mapping between SQL and Java data types

  • How you limit the data created in a resultset

  • How you constrain the time spent executing a query

  • How you use a PreparedStatement object to create a parameterized SQL statement

  • How you can execute database update and delete operations in your Java programs

  • How you can get more information from SQLException objects

  • What an SQLWarning object is and what you can do with it

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