|again on Data Tools api / extensions. How to write on DB using DTP objects. [message #596645]
||Tue, 13 October 2009 16:59
| No real name
Registered: October 2009
I'm using the Data Tools Api and Extension Points on Eclipse 3.5 SR-1 (Galileo) and MySql 5.
On my RCP application I've created a ConnectionProfile.
I've seen and tried with success the code to get the Database object (http://wiki.eclipse.org/DTP_FAQ) but in that case I can just read data or write it using the classic java.sql.statement/SQL.
I'd like to WRITE objects' api in offline mode and save all just in the end.
Is it possible?
Anyway I don't have idea on how to do it also in online mode.
Which java classes can I use to create a table or modify a foreign key?
In the topic seems that there's no way...
I'm also wondering where is the "new table" context menu item who disappeared since I installed Galileo.
In the topic "Capabilities of DTP" Brian doesn't give a solution on it :|
I also have this error when I try to change perspective of my application from Plug-in Dev. to Database Development (I'm using IDE as TARGET and I included all the plugin in the run-configuration):
Could not acquire children from extension: org.eclipse.datatools.connectivity.dsexplorer.content.extend ed
I hope that someone will answer me ;)
Powered by FUDForum
. Page generated in 0.14650 seconds