Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.
/ greenvine Public archive

A Maven plug-in for reverse-engineering a JPA 2.0 and/or Hibernate project from a JDBC database.

Notifications You must be signed in to change notification settings

eusa/greenvine

Repository files navigation

A tool for reverse-engineering a JPA 2.0 and/or Hibernate project from a JDBC database. It's a Maven plugin.

  • Entity classes with JPA 2.0 annotations
  • Hibernate mapping XML documents
  • DAO interfaces and implementation classes based on Spring DAO templates
  • Spring configurations for JPA EntityManager, Hibernate SessionFactory, DAO classes
  • Unitils test cases (integration tests with database)
  • DbUnit test data for test cases
  • Maven POM with all dependencies

Basically, you reverse engineer the database using the Maven plug-in. mvn greenvine:revgen

Then, go to the output directory and type mvn test.

The generated project should compile and all tests should run without any modifications, including real database integration tests with real data.

COPYRIGHT AND LICENCE

Copyright (C) 2011 Patrick van Kann

Uses the Apache licence.

About

A Maven plug-in for reverse-engineering a JPA 2.0 and/or Hibernate project from a JDBC database.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages