/orm

Orm(Object relational Mapping) tests for a mysql database

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

Orm


Orm(Object relational Mapping) tests for a mysql database

This is my third attempt and last for crating a framework for orm between java and MySQL It implements One to One, One to Many and Many to Many relations. to distinguish between a relation in the java source code you can use The Annotations @OneToOne, @OneToMany and @ManyToMany.A package testing is included to see some demos and test the limits of this framework

Installation:

  • download and add the newest version here and add it to your projects classpath
  • download and add the your mysql driver. This one works

To get started

A packege called testing is included implementing a simple database schema just look trough the A_Tester.java and try some of the provided test functions yourself. Most functionality is used there.
Reduce the log level via Orm.logger.setLogLevel(Logger....) to see whats going on

Draw backs and future plans

  • The biggest drawback I see in the current state is performance in future changes i will adress that
  • Also I want to work in bidirectional relations