Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » Possible bug in deleting a db connection profile(After deleting a database connection profile it isn't possible to create a new one with the same name)
Possible bug in deleting a db connection profile [message #539337] Thu, 10 June 2010 13:26 Go to next message
Jane Thalen is currently offline Jane ThalenFriend
Messages: 9
Registered: April 2010
Junior Member
Where do the details for a database connection profile in the data source explorer get stored?

Searching my workspace for the connection profile name I see it is stored in the file (along with others that had been previously deleted): workspace\.metadata\.plugins\workbench.xml

We've noticed that if you delete a database connection profile it isn't possible to create a new one with the same name. Even after several Eclipse re-starts.

If it's deleted properly then this should work.

Is this a bug?
Re: Possible bug in deleting a db connection profile [message #540035 is a reply to message #539337] Mon, 14 June 2010 16:07 Go to previous message
Brian Fitzpatrick is currently offline Brian FitzpatrickFriend
Messages: 495
Registered: July 2009
Senior Member
Jane Thalen wrote:
> Where do the details for a database connection profile in the data
> source explorer get stored?
> Searching my workspace for the connection profile name I see it is
> stored in the file (along with others that had been previously deleted):
> workspace\.metadata\.plugins\workbench.xml
> We've noticed that if you delete a database connection profile it isn't
> possible to create a new one with the same name. Even after several
> Eclipse re-starts.
>
> If it's deleted properly then this should work.
>
> Is this a bug?
That's very strange.

Connection profiles are stored in the .metadata directory for
connectivity (so
[workspace]/.metadata/.plugins/org.eclipse.datatools.connect ivity) in a
file called ServerProfiles.dat. When profiles are created or deleted,
you should see that file change. I'm able to create and delete and
recreate a Derby profile as many times as I'd like in my workspace this
morning (Eclipse 3.6 RC3 with the latest DTP 1.8 build for Helios).

Are you seeing anything appearing in your log? Anything in your console?
What operating system? (I'm currently on Linux)

--Fitz
Re: Possible bug in deleting a db connection profile [message #597573 is a reply to message #539337] Mon, 14 June 2010 16:07 Go to previous message
Brian Fitzpatrick is currently offline Brian FitzpatrickFriend
Messages: 495
Registered: July 2009
Senior Member
Jane Thalen wrote:
> Where do the details for a database connection profile in the data
> source explorer get stored?
> Searching my workspace for the connection profile name I see it is
> stored in the file (along with others that had been previously deleted):
> workspace\.metadata\.plugins\workbench.xml
> We've noticed that if you delete a database connection profile it isn't
> possible to create a new one with the same name. Even after several
> Eclipse re-starts.
>
> If it's deleted properly then this should work.
>
> Is this a bug?
That's very strange.

Connection profiles are stored in the .metadata directory for
connectivity (so
[workspace]/.metadata/.plugins/org.eclipse.datatools.connect ivity) in a
file called ServerProfiles.dat. When profiles are created or deleted,
you should see that file change. I'm able to create and delete and
recreate a Derby profile as many times as I'd like in my workspace this
morning (Eclipse 3.6 RC3 with the latest DTP 1.8 build for Helios).

Are you seeing anything appearing in your log? Anything in your console?
What operating system? (I'm currently on Linux)

--Fitz
Previous Topic:Possible bug in deleting a db connection profile
Next Topic:Installing DTP 1.6.1
Goto Forum:
  


Current Time: Mon Dec 22 12:08:40 GMT 2014

Powered by FUDForum. Page generated in 0.01866 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software