Skip to content

Custom ORM Framework is a lightweight Object-Relational Mapping (ORM) solution for Java that uses annotations and reflection to automatically inject database-related code

License

Notifications You must be signed in to change notification settings

dimitrisstyl7/custom-orm-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom ORM Framework

MSc course: Advanced Topics of Object - Oriented Programming (Java)

Semester: 1

Project Completion Year: 2025

Description

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

Features

  • 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

Javadocs

The Javadocs for this project are hosted on GitHub Pages. You can access them directly from the following link:

Custom ORM Framework Javadocs

The documentation includes detailed descriptions for all classes, methods, and fields.

Contributors

Dimitris Stylianou
Dimitris Stylianou

Apostolis Siampanis
Apostolis Siampanis

Acknowledgments

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!

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Custom ORM Framework is a lightweight Object-Relational Mapping (ORM) solution for Java that uses annotations and reflection to automatically inject database-related code

Topics

Resources

License

Stars

Watchers

Forks

Languages