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: | Ability to change stored procedure text | ||
---|---|---|---|
Product: | db | Reporter: | Roman Mostyka <romanmostyka> |
Component: | Code | Assignee: | Libor Fischmeistr <lfischmeistr> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | 165125 | ||
Bug Blocks: | 152818 |
Description
Roman Mostyka
2008-08-27 12:34:15 UTC
Reassigned to new owner. *** Issue 145283 has been marked as a duplicate of this issue. *** *** Bug 133182 has been marked as a duplicate of this bug. *** Closing as fixed - there is a menu entry "Edit" under "View" in netbeans 8.0.1 - at least for supported DBs (derby and informix both fail). What needs to be done in order to make Informix a supported database here? If I'm not totally mistaken, you need to implement an Informix variant of the ProcedureNode, that represents functions/procedures in the GUI. So if you want to implement support it should be doable: - Checkout netbeans source - Open the db project - Open class org.netbeans.modules.db.explorer.node.ProcedureNode - The node is created in the static create method beginning in line 10 => there it needs to be detected if you are connected to an informix database - the second part is implementing the class for the node see org.netbeans.modules.db.explorer.node.ProcedureNode.MySQL for an example (beginning in line 298) When this is implemented I can give it a look and we can talk about integrating it into netbeans. With regard to the code you can work with (all repositories are hosted on: http://hg.netbeans.org/): - core-main is the home of the database code - main-golden and main-silver are integration repositories When I started with this I created patches based on main-golden. That repository was the repository that was most stable when it came to be able to build netbeans from it (core-main should be, but -silver and -golden are only updated if basic testing succeeds). I don't know whether there is a strict limit with regard to patch size before a signed OCA is required, but looking at the MySQL source it is a good chunk of code (~ 250-300 lines are in the mysql class). So I'd suggested making sure you agree to it (http://www.oracle.com/technetwork/community/oca-486395.html#b). If you feel flashed - don't hesitate to contact me directly I'll try to help with understanding and more info. |