jar files for IConnectionProfile [message #720132] |
Mon, 29 August 2011 23:55 |
Brian Lavender Messages: 20 Registered: July 2009 |
Junior Member |
|
|
I was looking at the FAQ and I saw the below question. What jar files do I include in my project for this? Or, is there a way to create a project that will included the necessary jars?
brian
Q: How do I programmatically access an existing connection profile?
A: Access to existing connection profiles (persisted or transient) is done using the ProfileManager class (org.eclipse.datatools.connectivity.ProfileManager). So this is pretty simple:
IConnectionProfile profile = ProfileManager.getInstance().getProfileByName("myprofile");
[Updated on: Tue, 30 August 2011 02:14] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03856 seconds