Java
JDBC Transactions and Batch Operations
A transaction makes several statements succeed or fail together, and batching turns many round trips into one.
Database access from Java.
3 notes tagged
A transaction makes several statements succeed or fail together, and batching turns many round trips into one.
Concatenating input into SQL lets a caller rewrite your query. Bound parameters make that structurally impossible.
JDBC is the standard API for talking to a relational database from Java: a connection, a statement, and a result set.