Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » Overloading Function names
Overloading Function names [message #25589] Thu, 18 January 2007 21:42
Eclipse UserFriend
Originally posted by: francine.grimmer.ncr.com

We are seeing a problem if we have an overloaded function name: When we
click on the Edit from the drop down menu, it doesn't load the correct
function.

If we define two functions (function1 and function2) with the same name
(TEST) yet different sets of parameters and different specific names, they
both show up in the DSE navigator, yet when I click on function2, it loads
the Routine function1. If you look at the
SQLDevToolsUtil.getProcIdentifier, it creates a ProcIdentifier based on
the name of the sqlobject and the ModelUtil.findProcedureObject will
always return the first Function it finds with the name. In this case it
is always function1, even when I right click on function2 and choose Edit.
Besides the parameter list that will differ between the two functions,
the Specific Name must also be unique. There needs to be code that looks
for a Function based on its specific name and not the Name.

Should I enter a bug report for this?

-francine
Previous Topic:Configure Parameter popup
Next Topic:Overloading Function names
Goto Forum:
  


Current Time: Fri Apr 26 21:26:13 GMT 2024

Powered by FUDForum. Page generated in 0.02834 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top