I have to develop a java web application. For persistence, I am going to use hibernate.
I am a symfony2 developer and I like generating my entities using Doctrine 2 console.
So is there a similar tool for hibernate (or other well known Java ORM) that generates entities automatically ?
I have to develop a java web application. For persistence, I am going to
Share
AFAIK, no, there are no entity generators on par with the ones in doctrine or rails.
However generating entities from existing tables can still be quite comfortable if you use eclipse. Take a look at this help page . The page itself is a bit outdated, but the functionality is still there. The menus will guide you nicely through property and relation mapping.
Other IDEs like IntelliJ and NetBeans probably have similar tools, but I am not familiar enough with them to advise.