C H A P T E R  13

Images

Statement Caching

Statement caching is a JDBC 3.0 feature designed to improve performance by caching statements that are used repeatedly (e.g., in a loop) in the same session. By caching the statements, you prevent the overhead of repeated parsing of the cursor.

In this chapter, you'll learn about statement caching, its different flavors in JDBC, and how it improves the performance of JDBC programs. As a background to the statement caching concept, you'll first go through a detailed discussion of cursors and ref cursors. You'll also learn about two other related caches, namely the PL/SQL cursor cache (which is the equivalent ...

Get Expert Oracle JDBC Programming 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.