File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes JPA reverse engineering in IntelliJ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "JPA reverse engineering in IntelliJ" Watch "JPA reverse engineering in IntelliJ" New topic
Author

JPA reverse engineering in IntelliJ

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9353
    
    2

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?


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16020
    
  20

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9353
    
    2

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

Joined: Jun 25, 2001
Posts: 16020
    
  20

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.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41621
    
  55
See this. It's is an Ant task, and can thus be driven from within IntelliJ.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JPA reverse engineering in IntelliJ