Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JPA Entity generation  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am using the community edition of intelli-j and was hoping to find a way or plugin to build my JPA entities based of an existing schema.
Is this possible at all?

Thanks
 
Bartender
Posts: 19558
90
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure about IntelliJ plugins, but the OpenJPA system has a set of batch utilities that can scan a schema and generate Java class definition files. I've used it many times to adopt pre-existing databases for JPA. In fact even before JPA, since they were originally part of Kodo JDO, which is one of JPA's ancestors.
 
No matter. Try again. Fail again. Fail better. This time, do it with this tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!