Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsInvoke JPA entity creation process from a script
https://www.eclipse.org/forums/index.php/mv/msg/693649/1294212/#msg_1294212
I am able to generate JPA entities based on the database tables. Now I need to be able to invoke this process from a script. So script accepts parameters, like the ones from the user interfaces and invokes some Java class with this parameters.
I was trying to investigate standard Eclipse plugins and it seems Dali has something to do with that.
Could you suggest what class would be appropriate to call?
Can I accomplish this task?
What jars are responsible for the generation process? I am using the Kepler version of Eclipse and found this jars which might relevant:
- org.eclipse.jpt.jpa.db_2.2.1.v201311210236
- org.eclipse.jpt.jpa.db.ui_2.1.0.v201212040155
- org.eclipse.jpt.jpa.gen_2.3.0.v201305312216