Skip to content

abhishekvermaa10/JDBC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Database Connectivity (JDBC)

Welcome to the Java Database Connectivity (JDBC) repository! This repository provides hands-on demos, starting from establishing a database connection to performing CRUD operations using Statement, PreparedStatement, and CallableStatement. It also covers essential topics like transaction management and code optimization techniques to help you write efficient and maintainable JDBC applications.


📌 Table of Contents

  1. CRUD using List
  2. Establish connection with Database
  3. CRUD using Statement
  4. CRUD using PreparedStatement
  5. Call using CallableStatement
  6. Transactions
  7. Tips to enhance code

⚙️ Prerequisites

These demos have been built using JDK 17. While it is recommended to have JDK 17 installed, the examples can be adapted to other Java versions with minimal modifications.

The database used in these examples is MySQL, but the code can be adjusted to work with other databases if needed.

Before diving into Java Database Connectivity (JDBC), ensure you're comfortable with the following concepts:

You can learn these topics from my YouTube channel through dedicated playlists.


🚀 How to Run the Demos

Follow these steps to set up and execute the demos:

  1. Clone the repository.
  2. Import the project into your preferred IDE as a Java Project.
  3. Configure the database connection, if necessary.
  4. Run the application and test the methods.

If you're a beginner, it's best to execute the demos in the given order to build your understanding progressively. If you're experienced, feel free to explore specific demos based on your needs.


🎥 YouTube Tutorial

These demos are explained in detail on my YouTube channel Abhishek Verma. Watch the complete playlist here: Java Database Connectivity (JDBC).

🚀 Stay healthy, keep learning, and keep growing!


🌐 Connect with me


🛠️ Languages & Frameworks


🖥️ Software & Tools


Copyright © Abhishek Verma - All Rights Reserved

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages