By Alvin Alexander. Last updated: September 30, 2019
Here’s a list of the Java MySQL examples I've created, i.e., Java database examples that were specifically written for MySQL and MariaDB.
Java MySQL examples (SELECT, INSERT, UPDATE, DELETE examples)
Here's a list of my Java MySQL examples:
- A Java MySQL SELECT example
- A Java MySQL INSERT example (using Statement)
- A Java MySQL INSERT example (using PreparedStatement)
- A Java MySQL UPDATE example
- A Java MySQL DELETE example
Java MySQL examples - MySQL database connection and URL examples
On a related note, if you're just looking for Java MySQL database connection and URL examples, these two tutorials may be helpful:
- A Java MySQL JDBC Driver class and URL example
- A Spring, MySQL, JDBC, BasicDataSource connection example
I hope this collection of Java MySQL database programming examples and tutorials is helpful!