• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

JPA reverse engineering in IntelliJ

 
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Guys,

Is there a way to do a JPA reverse engineering in IntelliJ. I tried the JPA reverse engineering in MyEclipse IDE which is mainly to generate the Entity classes from the already existing database schemas. So is there anything similiar to that in IntelliJ?
 
Saloon Keeper
Posts: 24310
167
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually, I do my reverse engineering at the command-line level myself, using the Apache OpenJPA utility. Never had much luck fighting the IDE plugins, even in Eclipse.
 
Joe San
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do you mean by command-line level? I'm looking for ways to automatically generate Entity classes from the already existing database tables and I'm looking for ways to do that using IntelliJ.
 
Tim Holloway
Saloon Keeper
Posts: 24310
167
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jothi Shankar Kumar wrote:What do you mean by command-line level? I'm looking for ways to automatically generate Entity classes from the already existing database tables and I'm looking for ways to do that using IntelliJ.



I mean quite simply that I don't depend on the IDE to generate the Entity classes. I use the stand-alone java application from the "C:" prompt, if you want to call it that.

I don't regenerate classes very often, so it's not worth making an IDE function of it to me. IDE's are supposed to help me, not be a crutch I have to lean on for every little thing.
 
Rancher
Posts: 43026
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
See this. It's is an Ant task, and can thus be driven from within IntelliJ.
reply
    Bookmark Topic Watch Topic
  • New Topic