Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » standalone sync plugin
standalone sync plugin [message #593578] Fri, 17 October 2008 03:11
Mike Lamb is currently offline Mike Lamb
Messages: 2
Registered: July 2009
Junior Member
I'd like to write a headless plugin to sync my data model with the
current DB.

For a plugin to work does the eclipse application need to be running or
is there a way to create a standalone plugin that just references some
jar files and does some action?

I would be using these types of classes to traverse the EMF model:

import org.eclipse.wst.rdb.internal.core.definition.DataModelElemen tFactory;
import org.eclipse.wst.rdb.internal.core.definition.DatabaseDefinit ion;
import
org.eclipse.wst.rdb.internal.models.sql.datatypes.CharacterS tringDataType;
import org.eclipse.wst.rdb.internal.models.sql.datatypes.DataType;
import org.eclipse.wst.rdb.internal.models.sql.schema.Database;
import org.eclipse.wst.rdb.internal.models.sql.schema.SQLObject;
import org.eclipse.wst.rdb.internal.models.sql.schema.Schema;
import org.eclipse.wst.rdb.internal.models.sql.tables.Column;
import org.eclipse.wst.rdb.internal.models.sql.tables.SQLTablesPack age;
import org.eclipse.wst.rdb.internal.models.sql.tables.Table;


Similiar to the traverse plugin mentioned here:
http://www.ibm.com/developerworks/db2/library/techarticle/dm -0807liu/

Thanks,
Mike
Previous Topic:JPA Catalog Explorer and JPQL Query Builder
Next Topic:Run Procedure object in DB2 Express 9.5
Goto Forum:
  


Current Time: Thu Aug 28 07:31:36 EDT 2014

Powered by FUDForum. Page generated in 0.19861 seconds