https://github.com/giriraj-g0511/jdbc-notes-tutorials-and-contact-manager-app
This repository is a comprehensive collection of Java JDBC examples, conceptual notes, and a fully functional Contact Manager application. It serves as a learning resource for those interested in understanding JDBC (Java Database Connectivity) and how to interact with relational databases using Java.
https://github.com/giriraj-g0511/jdbc-notes-tutorials-and-contact-manager-app
Last synced: 28 days ago
JSON representation
This repository is a comprehensive collection of Java JDBC examples, conceptual notes, and a fully functional Contact Manager application. It serves as a learning resource for those interested in understanding JDBC (Java Database Connectivity) and how to interact with relational databases using Java.
- Host: GitHub
- URL: https://github.com/giriraj-g0511/jdbc-notes-tutorials-and-contact-manager-app
- Owner: giriraj-g0511
- License: mit
- Created: 2024-12-11T17:35:42.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-11T18:05:00.000Z (5 months ago)
- Last Synced: 2025-02-11T21:11:52.435Z (3 months ago)
- Language: Java
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jdbc-notes-tutorials-and-contact-manager-app
-----------------------------------------------
# JDBC Notes, Tutorials & Contact Manager AppThis repository provides a comprehensive learning experience for Java Database Connectivity (JDBC), along with a practical Contact Management App built using the MVC architecture.
## π JDBC Notes
- **JDBC Notes.txt**: A detailed guide explaining JDBC concepts and steps to connect with a database.
- **JDBC Extra.txt**: Additional tips and tricks for advanced JDBC usage.## π» Basic JDBC Programs (demoPrograms)
Contains demo programs that illustrate common JDBC operations:
- **BatchExecution.java**: Demonstrates executing multiple SQL statements in one go.
- **DeleteData.java**: Shows how to delete records from a database.
- **DeleteDataPreparedStatement.java**: Delete records securely using `PreparedStatement`.
- **InsertData.java**: Demonstrates inserting data into a database.
- **InsertDataPreparedStatement.java**: Insert data securely using `PreparedStatement`.
- **JDBC_Steps.java**: A guide to the fundamental steps of using JDBC.
- **ReadData.java**: Shows how to retrieve data from a database.
- **ReadDataPreparedStatement.java**: Retrieve data securely using `PreparedStatement`.
- **UpdateData.java**: Demonstrates updating data in the database.
- **UpdateDataPreparedStatement.java**: Update data securely with `PreparedStatement`.## π± Contact Management App
This console-based app is structured using the **MVC (Model-View-Controller)** architecture:
- **controller/Controller.java**: Handles user interactions and updates the model.
- **model/Contact.java**: Represents the contact data and interactions with the database.
- **view/View.java**: Manages the user interface for displaying contacts and accepting input.### Features:
- Add, update, delete, and display contacts.
- Search by name, company, email, city, or phone number.
- Store multiple phone numbers for a single contact.## π§ Technologies Used
- Java (JDK 8+)
- JDBC (Java Database Connectivity)
- MySQL/PostgreSQL/SQLite (Database)
- MVC Architecture
- PreparedStatement for secure SQL queries## π Contact
Feel free to raise any issues or ask questions through GitHub Issues or the repositoryβs contact section.
π [[GitHub Repo Link](https://github.com/giriraj-g0511/jdbc-notes-tutorials-and-contact-manager-app)]
## π License
This project is open-source and available under the MIT License. See the [LICENSE](LICENSE) file for more details.