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 68844 - SQL Editor Will Not Execute SQL Scripts
Summary: SQL Editor Will Not Execute SQL Scripts
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 5.x
Hardware: PC All
: P1 blocker with 2 votes (vote)
Assignee: Andrei Badea
URL:
Keywords:
: 18475 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-16 20:18 UTC by William Leonard
Modified: 2006-03-02 10:15 UTC (History)
2 users (show)

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 William Leonard 2005-11-16 20:18:09 UTC
The NetBeans project system recognizes sql files and even allows you to
double-click a sql file to open it in the SQL editor. However, the SQL Editor
fails to execute that file.

Note, according to the NetBeans help documentation, this is possible:

"You can use the SQL Editor to create, edit and execute any SQL files in your
project. To open an SQL file, right-click the SQL file (    ) in the Projects or
Files window and choose Open. You can also double-click the icon to open the
file in the SQL Editor."
Comment 1 Andrei Badea 2005-11-18 09:15:13 UTC
This is as designed for 5.0, although the help is a little bit misleading. The
execution of scripts consisting of multiple statements is planned for the next
version:

http://db.netbeans.org/uispecs/sqleditor/sqleditor-ui-spec-promo-g.html
Comment 2 Andrei Badea 2006-02-16 11:02:55 UTC
*** Issue 18475 has been marked as a duplicate of this issue. ***
Comment 3 Andrei Badea 2006-03-02 10:15:05 UTC
Implemented in the release55 branch.