MSc course: Advanced Topics of Object - Oriented Programming (Java)
Semester: 1
Project Completion Year: 2025
Custom ORM Framework is a lightweight Object-Relational Mapping (ORM) solution for Java that uses annotations and reflection to automatically inject database-related code. This project aims to demonstrate how ORM and reflection work together by allowing developers to define entities, primary keys, constraints, and queries using Java annotations.
Supported database engines:
- Apache Derby
- SQLite
- H2
- Define database schemas using Java annotations
- Support for primary keys, unique constraints, and not-null constraints
- Automatic table creation based on class structure
- Query execution for fetching all records (
SELECT *
) via annotation - Query execution for deleting records by primary key via annotation
- Reflection-based entity processing
- Configurable database connection setup
The Javadocs for this project are hosted on GitHub Pages. You can access them directly from the following link:
The documentation includes detailed descriptions for all classes, methods, and fields.
Dimitris Stylianou |
Apostolis Siampanis |
This project was developed as part of the "Advanced Topics of Object - Oriented Programming (Java)" MSc course at the University of Piraeus. Contributions and feedback are always welcome!
This project is licensed under the MIT License - see the LICENSE file for details.