https://github.com/ayvero/mysql-derby-invoicing-system
A database-driven invoicing system implemented in Java using the DAO pattern. The project supports MySQL and Derby databases and loads initial data from CSV files. It includes functionalities such as retrieving the highest revenue product and ranking customers by billing.
https://github.com/ayvero/mysql-derby-invoicing-system
Last synced: 5 months ago
JSON representation
A database-driven invoicing system implemented in Java using the DAO pattern. The project supports MySQL and Derby databases and loads initial data from CSV files. It includes functionalities such as retrieving the highest revenue product and ranking customers by billing.
- Host: GitHub
- URL: https://github.com/ayvero/mysql-derby-invoicing-system
- Owner: Ayvero
- Created: 2025-03-31T23:18:26.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-03-31T23:30:49.000Z (6 months ago)
- Last Synced: 2025-04-01T00:26:35.305Z (6 months ago)
- Language: Java
- Size: 63.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π» Java Invoicing System - DAO Pattern & MySQL/Derby

## π Description
This project is a **database-driven invoicing system** implemented in **Java** using the **DAO (Data Access Object) pattern**. It supports **MySQL and Derby databases** and allows initial data loading from **CSV files**.### β¨ Features
β DAO implementation for database interactions
β MySQL and Derby support
β CSV-based data import
β Retrieve the highest revenue product
β Rank customers by total billing## π Technologies
- Java
- MySQL / Derby
- JDBC
- DAO Pattern## π How to Use
1. Clone the repository:
```sh
git clone https://github.com/Ayvero/mysql-derby-invoicing-system.git2. Configure MySQL or Derby as the database.
3. Load initial data from CSV files (datasets folder).
Run the Main.java to execute queries.
π¬ Example Functionality
ProductoDTO productoConMayorRecaudacion = service.getProductoConMayorRecaudacion();
System.out.println("Producto con Mayor RecaudaciΓ³n: " + productoConMayorRecaudacion.getNombre());