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
Get Ivor Horton's Beginning Java™ 2, JDK™ 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.