Statement | JDBC Tutorial for Beginners

Опубликовано: 16 Октябрь 2024
на канале: Java Code Junkie
3,959
97

In this JDBC tutorial for beginners, we will learn how to use the Statement Object to create and retrieve records in a MariaDB database. A Statement is the object used for executing a static SQL statement and returning the results it produces. You will learn the three execute methods of the Statement Object and the different types of SQL that are used in each.

1. execute(String sql);
2. executeUpdate(String sql);
3. executeQuery(String sql);

MariaDB Connector/J download link:
https://mariadb.com/kb/en/about-maria...

JDBC Connector | MariaDB Tutorial for Beginners
   • JDBC Connector | MariaDB Tutorial for...  

Eclipse Project code is available on GitHub
https://github.com/JavaCodeJunkie

Check out my YouTube Channel for more FREE videos
   / javacodejunkie  

Do you want to learn more about Java and how you can grow your skills as a Java Developer? SUBSCRIBE and ring that bell!