2005-06-09 17:26:18 UTC
Hi,
I'm having a bunch of little newbie problems getting going here. Also new to Eclipse.
I can create a Driver and Alias and connect (to SQL Server). All my databases show up correctly. That's as far as I get.
1. When I open a new editor from the Connections window, the editor is created, but the editor will not accept keyboard or mouse input and is disabled.
And then I can never close these editors once they are created.
2. When I open an editor using File/New/JFacedbc/SQL Editor, an editor opens in which I can input SQL, but when I try to execute a command, I get a "no connection" message in the status line, probably because there is no connection associated with this editor and I can not figure out how to associate a connection when I open an editor this way.
Interestingly, once I open an editor this way and then tab to one of the SQL editors I opened from the Connection window, those editors now accept keyboard input but when I try to execute SQL I get "no connection".
3. I save the file opened in 2) above and when I exit Eclipse and restart, I get a NullPointerException and Unable to Create Editor.
Under Preferences for JFaceDbc, I unchecked auto-completing assistance to take metadata out of the equation as I was getting "no metadata" popups.
Again, the Connection window is showing an active Alias and the Database window shows my databases, so I know that I have successfully connected to the database.
Thanks for any help.
- Charlie