This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
|Summary:||SQLExecution interface be made public|
|Product:||db||Reporter:||Prashant Ponnala <pponnala>|
|Component:||SQL Editor||Assignee:||Libor Fischmeistr <lfischmeistr>|
|Issue Type:||ENHANCEMENT||Exception Reporter:|
Description Prashant Ponnala 2006-12-01 20:12:46 UTC
SQL Service Engine uses the netbeans SQL Editor and needs to get handle to the connection and the URL picked by the user. SQLExecution class which has handle to these objects need to be made public API.
Comment 1 Andrei Badea 2006-12-01 20:30:21 UTC
Please give more details about what you need to do. How exactly do you use the SQL editor? What do you need to do with the connection? SQLExecution can also execute the contents of the editor, is that what you need? Do you plan to implement this interface? (You shouldn't, asking just to be sure.)
Comment 2 Prashant Ponnala 2006-12-01 22:16:41 UTC
From the SQL Editor, I need to get hold of the name of the connection the user selects. I can use the db explorer api using that name to get the driver, user, password and other details. I do not need to execute the sql statement but use the connection to get the database metadata for the sql statement the user entered.
Comment 3 _ ahimanikya 2008-07-17 16:12:01 UTC
I also need this. In Data Mashup editor (multi view editor), I want the CC feature in the SQL view if this API is not public.
Comment 4 Jiri Rechtacek 2009-10-16 14:07:38 UTC
Reassigned to new owner.