PreparedStatement and SQL Injection Prevention in Java
Concatenating input into SQL lets a caller rewrite your query. Bound parameters make that structurally impossible.
Core Java, object oriented programming, collections, multithreading and JDBC.
100 notes in 18 topics
Concatenating input into SQL lets a caller rewrite your query. Bound parameters make that structurally impossible.
A transaction makes several statements succeed or fail together, and batching turns many round trips into one.
A unit test runs a small piece of code with known input and asserts the result, automatically and repeatedly.
A test double stands in for a real dependency so a unit can be tested in isolation, quickly and predictably.