~/talk

Using MySQL with Java

links:none on file
slides:none on file

JDBC is the standard Java-to-SQL interface and Connector/J exposes roughly 200 tunable parameters (he counts exactly 200) to tweak caching, debugging and performance. Use prepared statements to prevent SQL injection and to reduce client-server chatter; reuse them and use batch inserts for near‑C++ throughput. A single-file disk free checker on GitHub is shown and runs as a service and reporter. MariaDB’s JDBC is newer and does client‑side prepared statements, and use JDBC connection pools and BigDecimal for money.

AI-written summary · about

  1. 0:00Introduction
  2. 3:11What is JDBC
  3. 5:05Java JDBC demo
  4. 12:32JDBC connection URL
  5. 14:01Parameters via properties file
  6. 16:28Prepared statements benefits
  7. 19:18Result set handling
  8. 21:53Reusing prepared statements
  9. 22:13Batch inserts
  10. 24:40Batch deletes
  11. 25:44JDBC performance tuning
  12. 26:50Debugging slow queries
  13. 29:37MariaDB JDBC driver
  14. 31:00Connection pooling tools
  15. 32:27JPA and Hibernate
  16. 32:48Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.