Skip to content

Cross-database Data Access Object, with database generation and migration capabilities.

Notifications You must be signed in to change notification settings

mendrika261/S5-UniDao

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

The goal of this project is to create a cross-database Data Access Object, with database generation and migration capabilities.

🎉 It is now integrated in this web framework

Example of usage

package project.entity;

import mg.uniDao.annotation.Field;
import mg.uniDao.annotation.AutoSequence;
import mg.uniDao.core.sql.GenericSqlDao;
import mg.uniDao.annotation.Collection;


@Collection
public class Region extends GenericSqlDao {
	@Field(name = "region_id", isPrimaryKey = true)
	@AutoSequence(name = "region")
	private Integer regionId;
	@Field(name = "region_description")
	private String regionDescription;

Getting Started for dev

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Installing

  1. Clone the repository to your local machine.
  2. Run mvn clean install to install dependencies.
  3. (For building jar) Run mvn package -DskipTests=true to build the project.

Built With

  • Java - The programming language used
  • Maven - Dependency Management
  • JUnit - Testing framework
  • Gson - JSON library for Java
  • DotEnv - Java dot env

About

Cross-database Data Access Object, with database generation and migration capabilities.

Topics

Resources

Stars

Watchers

Forks

Languages