Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » Command line EclipseLink
Command line EclipseLink [message #767818] Sun, 18 December 2011 20:50 Go to next message
Eclipse UserFriend
Is there a way to run eclipselink as a commandline tool? Or as a jar file? I need to pass arguments and run it automatically so that it can generate the entities every time I change the db, or on every nightly build.
Re: Command line EclipseLink [message #768230 is a reply to message #767818] Mon, 19 December 2011 14:52 Go to previous messageGo to next message
Eclipse UserFriend
What are you trying to run exactly?
Re: Command line EclipseLink [message #768292 is a reply to message #768230] Mon, 19 December 2011 16:36 Go to previous messageGo to next message
Eclipse UserFriend
I'm trying to run eclipselink to generate entity files automatically (lets say like a cron job).
Re: Command line EclipseLink [message #769722 is a reply to message #768292] Thu, 22 December 2011 10:35 Go to previous message
Eclipse UserFriend
EclipseLink does not generate entity files. What are you generating the files from?
There are tools, such as Eclipse Dali (JPA) that can generate a Java object model from a database schema. They might support some kind of automation.

In general generating an object model is not normally the best idea. Normally the object model would be designed, base on the applications needs.
If you are generating the object model, what about the code that uses it, are you generating it to?

You might want to look at EclipseLink dynamic entity support.
Previous Topic:JPA 2.0 @EmbeddedId mappings: bug with @MapsId in single-column identifying relationship?
Next Topic:Multiple inheritance and NotSerializableException
Goto Forum:
  


Current Time: Wed Jul 23 02:06:20 EDT 2025

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

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

Back to the top