Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Entity generator from database

I need to generate annotation based entity from the existing database in spring.I have tried pride but the generated entity dont having annotations.How can i generate the annotations in pride based entity or can any one suggest me a good entity generator.I want to say that i also have tried spring roo.

like image 847
rakesh menon Avatar asked Feb 25 '12 08:02

rakesh menon


3 Answers

You can try Telosys Tools, an Eclipse plugin for code generation working from an existing database with customizable Velocity templates

See: http://www.telosys.org/

Eclipse Marketplace : http://marketplace.eclipse.org/content/telosys-tools

For JPA generation, a set of templates is available on GitHub : https://github.com/telosys-templates-v3/

like image 169
John T Avatar answered Oct 10 '22 11:10

John T


Since the 2.1.0 version of Telosys Tools you can find templates for generate full application with Spring MVC, AngularJS, Spring DATA Rest for example.

The tutorials are here : https://sites.google.com/site/telosystutorial/

like image 40
bwilcox Avatar answered Oct 10 '22 11:10

bwilcox


You can use DAL4J.jar , I think it will fulfill your need. visit http://www.sourceforge.net/projects/dal4j/

like image 1
Rathakrishnan Avatar answered Oct 10 '22 09:10

Rathakrishnan