Java MySQL database tutorials and examples
Over the years I've done a lot of Java programming, including Java database programming, and I've tried to document a lot of what I've learned about database programming.
A very long time ago I wrote these generic Java database programming tutorials:
More recently I followed those tutorials with these newer Java MySQL database programming tutorials:
- Java MySQL JDBC Driver class and URL example
- Java MySQL SELECT example
- Java MySQL INSERT example (using Statement)
- Java MySQL INSERT example (using PreparedStatement)
- Java MySQL UPDATE example
- Java MySQL DELETE example
These days I use Spring JDBC for all my Java database programming. If you've never used Spring before, it is a life-saver. Here's a link to the Spring Framework website.
If online database programming tutorials aren't your thing, here are links to the best Java database programming books I know, including a Spring book. (If you've never used Spring for your Java database programming needs, you'll thank me later.)
I hope this collection of Java database tutorials and books will be helpful to you!
Recent blog posts
- Business Analyst: How to write accurate software requirements
- Business Analyst: A simple secret to running a great meeting
- One thing a business analyst should ask about any requirement
- Business Analysts and Use Case quality: Questions to ask yourself when writing a Use Case
- The three things a Business Analyst should think about during meetings
- Testing web applications Selenium with Scala 3 and ScalaTest
- Scala Cookbook 2021: A best-selling new release in OOP and FP
- Salar Rahmanian's newsletter (and Functional Programming, Simplified)
- Our “Back To Now” app: Now available on iOS and Android
- An Android location “Fused Location Provider API” example