Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

DMGen started as Data Model Generator, Java code and a Maven plugin to generate POJO clazzes and the like for a data model specified as XML file.

With additional functions to allow an application to i.e. perform schema update operations it has grown into what's now rather called DMUtilsDmutils 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.
Repositories:

The subversion repository can be found here:

No Format
https://svn.clazzes.org/svn/dmgen.

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

No Format
<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.03-SNAPSHOT</version>
</dependency>
<dependency>
  <groupId>org.clazzes.dmgen</groupId>
  <artifactId>dmutils.impl</artifactId>
  <version>0.1.03-SNAPSHOT</version>
</dependency>