| Command line EclipseLink [message #767818] |
Sun, 18 December 2011 20:50  |
sqc Messages: 4 Registered: December 2011 |
Junior Member |
|
|
|
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 #769722 is a reply to message #768292] |
Thu, 22 December 2011 10:35  |
James Sutherland Messages: 1834 Registered: July 2009 |
Senior Member |
|
|
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.
James : Wiki : Book : Blog
|
|
|
Powered by
FUDForum. Page generated in 0.08410 seconds