Data Model Generator + Utils Home

Introduction

Dmutils consists of

  • a data model generator which can generate various pieces of (currently Java-) code based on a xml specification of a datamodel, in detail:
    • dto classes
    • database access classes (DAOs), including support for specifying generated joins based on the datamodel
    • a table definition class, to create a complete database schema based on the datamodel specification
  • a flexible importer, which can based on the datamodel specification import any pieces of data (given as csv file) into the database, including resolving and generating foreign key references between both the imported tuples and the tuples already present on the database.
pom.xml snippets:

To use the project add the following to your pom.xml file:

<repository>
  <id>clazzes.org</id>
  <url>http://mvn.clazzes.org/</url>
</repository>
...
<dependency>
  <groupId>org.clazzes.dmgen</groupId>
  <artifactId>dmutils.api</artifactId>
  <version>0.1.3-SNAPSHOT</version>
</dependency>
<dependency>
  <groupId>org.clazzes.dmgen</groupId>
  <artifactId>dmutils.impl</artifactId>
  <version>0.1.3-SNAPSHOT</version>
</dependency>

Source code and issue tracker

Subversion: https://svn.clazzes.org/svn/dmgen

Jira: DMGEN