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.

Bug 90452 - SQLExecution interface be made public
Summary: SQLExecution interface be made public
Status: NEW
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Libor Fischmeistr
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2006-12-01 20:12 UTC by Prashant Ponnala
Modified: 2013-09-04 08:22 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.