daogenerator
DAOGenerator automatically generates dao classes for Jee web apps
DAOgenerator is pure Java, open source application, generates DAO classes for Jee applications. Additionally you can use auto generated mapping.xml on your Spring projects.
Fully compatible with eclipse/JPA POJO generator
DAO Generator currently supports below ORM frameworks:
Hibernate
JPA
Application is platform free, you can run via console:
java -jar daogenerator.jar
OR
right click -> open with -> Java SE Binary (Windows)
Application requeries Java 1.6+
You can check...