Connection | JDBC Tutorial for Beginners

preview_player
Показать описание
In this JDBC Tutorial for Beginners, we will learn how to use the Connection Class to connect to a MariaDB database. JDBC enables Java applications to connect to relational databases. JDBC is database independent. Each database manufacturer is responsible for providing a JDBC driver, which is a set of classes that implement the Java JDBC interfaces. In this episode we will be creating a static class with a method that returns a JDBC connection object from the DriverManager class.

MariaDB Connector/J download link:

JDBC Connector | MariaDB Tutorial for Beginners

Eclipse Project code is available on GitHub

Check out my YouTube Channel for more FREE videos

Do you want to learn more about Java and how you can grow your skills as a Java Developer? SUBSCRIBE and ring that bell!
Комментарии
Автор

This is the first episode in a new tutorial series on Java JDBC. I hope that you find it useful. Please Like, Comment and Subscribe! Cheers!

JavaCodeJunkie
Автор

Please make video more on jdbc ...this is very helpful

jyotimahra
Автор

Why to create a function for returning a connection object when DriverManager.getConnection itself does the job?

bijayad
Автор

No! You cannot say "I have created a user lib in Eclipse, and I'm gonna attach that to...". You have to SHOW how you created the user lib! I cannot grab the downloaded .jar file because Eclips wont allow me. It doesn't find the *.jar-file. Yes, I'm a worthless looser noob, but that's why I try to follow BEGINNERS tutorials...

Gatoatutube