Java Database Connection: JDBC and MySQL

Learn to connect to a MySQL database using Java JDBC, covering SQL queries, Prepared Statements, and handling various data types. Ideal for all Java developers.

  • Overview
  • Curriculum
  • Instructor
  • Review

Brief Summary

This course is all about mastering the art of connecting Java with MySQL through JDBC. You'll learn to set up your environment, run SQL queries, and dive into some cool advanced topics like prepared statements and handling large data types. Perfect for anyone with a little database knowledge!

Key Points

  • Connect to MySQL database using Java JDBC
  • Set up development environment with MySQL drivers
  • Submit SQL queries and process results
  • Perform SQL insert, updates, and deletes
  • Learn about Prepared Statements and stored procedures
  • Handle BLOBs and CLOBs, and read config files

Learning Outcomes

  • Connect and interact with a MySQL database using Java
  • Execute SQL operations like insert, update, and delete
  • Use Prepared Statements to manage SQL parameters
  • Call and manage various types of stored procedures
  • Read and write large data types like BLOBs and CLOBs

About This Course

Learn how to connect to a MySQL database with Java JDBC

This course assumes you have some knowledge of databases.

----------

Join 15,000+ highly engaged students


All source code is available for download

Responsive instructor available to answer your questions.

----------

Excellent 5-Star Reviews!

Very well designed course. I like clarity and delivery of contents. I wish there were more courses from Chad !!!!

- Satish Jain

I have to say that I was extremely pleased to note that his lecture material was straightforward and to the point. I was also impressed with how well he structured the contents! His presence was felt as he periodically showed interest in my progress. I would definitely recommend his material to anyone interested in expanding their programming knowledge with additional tools.

- Marc-Alexandru

If you want to learn everything about JDBC - this is the course for you! Excellent content. Brilliant explanation.

- Vishal Kumar

----------

In this course, you learn how to connect to a MySQL database using Java JDBC.

The course starts with an overview of the JDBC API. Then you learn how to set up your development environment with the appropriate MySQL database drivers. Next the course shows you how to submit a SQL query and process the result set. Also, you learn how to perform SQL insert, updates and deletes.

The course moves on to advanced topics such as Prepared Statements to handle SQL paramaters. You also learn how to call stored procedures using various parameter types (IN, INOUT, OUT and ResultSet). Next, the course shows you how to process large data types such as BLOBs and CLOBs. Finally, the course wraps up with a section on reading database connection information from a configuration file.

Who Is This Course Suitable For?

  • Java developers: beginner, intermediate or advanced

Note: This course assumes you have some knowledge of databases.


You Will Learn How To

  • Connect to a MySQL Database with Java

  • Submit SQL statements to insert, update and delete data

  • Handle SQL parameters with Prepared Statements

  • Calls stored procedures and handle various parameter types (IN, INOUT etc..)

  • Read and write BLOB and CLOB data files

  • Configure your database connection information with properties files

Source Code

  • All source code is available for download

  • All database scripts are available for download

Course Requirements

You should have the following software already installed.

  • MySQL Database

  • Java Development Kit

  • Connect to a MySQL Database with Java

  • Submit SQL statements to insert, update and delete data

  • Handle SQL parameters with Prepared Statements

Instructor

Profile photo of Chad Darby
Chad Darby

Chád (shod) Darby is an author, instructor and speaker in the Java development world.  Chád is a contributing author to several Java books, including  Professional Java E-Commerce (Wrox Press), Beginning Java Networking  (Wrox Press), and XML and Web Services Unleashed (Sams Publishing).  Chád has Java certifications from Oracle and IBM. He holds a B.S. in Computer Science from Carnegie Mellon...

Review
4.9 course rating
4K ratings
ui-avatar of Aditya Raghav
Aditya R.
5.0
7 months ago

Course was very beginner friendly.

  • Helpful
  • Not helpful
ui-avatar of Yanadannagari Krishnaiah
Yanadannagari K.
1.0
7 months ago

It was good course

  • Helpful
  • Not helpful
ui-avatar of Tapasya Gogulwar
Tapasya G.
4.5
7 months ago

good course

  • Helpful
  • Not helpful
ui-avatar of Devanshu
Devanshu
4.0
7 months ago

great for learning

  • Helpful
  • Not helpful
ui-avatar of Ajay Dev K
Ajay D. K.
4.5
7 months ago

Good course

  • Helpful
  • Not helpful
ui-avatar of William Martinez
William M.
5.0
7 months ago

I learn things that i not knowing, is very simple to understand

  • Helpful
  • Not helpful
ui-avatar of Kurra Raghavendra
Kurra R.
3.5
7 months ago

good

  • Helpful
  • Not helpful
ui-avatar of Janhavi Manjunatha
Janhavi M.
4.0
7 months ago

Good

  • Helpful
  • Not helpful
ui-avatar of Kavitha Payyavula
Kavitha P.
5.0
7 months ago

good

  • Helpful
  • Not helpful
ui-avatar of Nikhilasri Jallu
Nikhilasri J.
5.0
7 months ago

I know JDBC before, but for brainstorming I have chosen this course. In addition, I have learned new concepts in this tutorial. very simple and good explanation.Thanks.

  • Helpful
  • Not helpful
Leave A Reply

Your email address will not be published. Required fields are marked *

Ratings

Courses You May Like

Lorem ipsum dolor sit amet elit
Show More Courses