aspose 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 Java 8 in Action this week in the Java 8 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: 9243
    
    1

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, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15665
    
  15

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: 9243
    
    1

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: 15665
    
  15

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: 39577
    
  27
See this. It's is an Ant task, and can thus be driven from within IntelliJ.


Ping & DNS - updated with new look and Ping home screen widget
 
Consider Paul's rocket mass heater.
 
subject: JPA reverse engineering in IntelliJ
 
Similar Threads
Is this called reverse Engineering
double-entries in table
Intellij and how it does Hibernate
How to add a JPA project to Web Project?
Reverse Engineering: From Tables to JPA entities