Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » command line tool for generating JPA Entities?
command line tool for generating JPA Entities? [message #742548] Thu, 20 October 2011 15:38 Go to next message
Jerome is currently offline Jerome
Messages: 4
Registered: July 2009
Junior Member
Is there a Command-Line tool for generating Entities from Tables?
Re: command line tool for generating JPA Entities? [message #742569 is a reply to message #742548] Thu, 20 October 2011 16:04 Go to previous messageGo to next message
Jerome  is currently offline Jerome
Messages: 5
Registered: May 2010
Junior Member
I did some research and found that other JPA providers have such tools. Is there no such command-line tool for EclipseLink? I want something I can call from ant.

Here are some tools that generate JPA entity classes from tables:
1) Avaje
2) Hibernate Tools
3) OpenJPA Reverse Mapping Tool

Sorry I can't post the URLs to these yet (because of forum policy).

Jerome
Re: command line tool for generating JPA Entities? [message #748480 is a reply to message #742569] Mon, 24 October 2011 18:12 Go to previous messageGo to next message
James Sutherland is currently offline James Sutherland
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

Eclipse and other IDE's provide this functionality, not sure if from the command line however. You may wish to check the Eclipse Dali forum.

Since JPA is standard, any tool should work with any JPA provider at runtime, as long as it support JPA.


James : Wiki : Book : Blog : Twitter
Re: command line tool for generating JPA Entities? [message #748486 is a reply to message #742569] Mon, 24 October 2011 18:12 Go to previous message
James is currently offline James
Messages: 272
Registered: July 2009
Senior Member
Eclipse and other IDE's provide this functionality, not sure if from the command line however. You may wish to check the Eclipse Dali forum.

Since JPA is standard, any tool should work with any JPA provider at runtime, as long as it support JPA.

--
James : http://wiki.eclipse.org/EclipseLink : http://en.wikibooks.org/wiki/Java_Persistence : http://java-persistence-performance.blogspot.com/
Previous Topic:@OneToMany SortedSet
Next Topic:SEQUENCE table / row lock issue
Goto Forum:
  


Current Time: Tue Oct 21 07:17:22 GMT 2014

Powered by FUDForum. Page generated in 0.01636 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software