MonDeveloper
Member
Hi Guys, first of all let me say the "PL/SQL Dev version 10" is amazing!
At our IT department we are trying to put in place a development model that separates the ownership of the data model to the ownership of the pl/sql development.
We reached a good point but we miss one important thing: Intellisense!
Let me introduce our scenraio: when a developer login into "PL/SQL Developer" with his own personal user and open a package owned by the schema owner he can modify and compile the package without any problem (we granted him all the necessary privileges) but when the developer try to write the code, the autocomplete option doesn't help him since he don't add the schema prefix before any table (and this is not good
).
My suggestion is, when the developer edit a packages (or any kind of pl/sql source) could you change the context of the auto-complete using as "base-owner" the owner of the package.
In my opinion this will be also more correct because the code inside the package will be executed under the package owner privileges; in addition you could add also a "switch" that uses the package owner as "base-owner" for the auto-complete option only if the developer has not specified the AUTHID CURRENT_USER clause, but this is not really necessary because in case of the AUTHID CURRENT_USER clause the IDE can't really know which user context should be used....
At our IT department we are trying to put in place a development model that separates the ownership of the data model to the ownership of the pl/sql development.
We reached a good point but we miss one important thing: Intellisense!
Let me introduce our scenraio: when a developer login into "PL/SQL Developer" with his own personal user and open a package owned by the schema owner he can modify and compile the package without any problem (we granted him all the necessary privileges) but when the developer try to write the code, the autocomplete option doesn't help him since he don't add the schema prefix before any table (and this is not good

My suggestion is, when the developer edit a packages (or any kind of pl/sql source) could you change the context of the auto-complete using as "base-owner" the owner of the package.
In my opinion this will be also more correct because the code inside the package will be executed under the package owner privileges; in addition you could add also a "switch" that uses the package owner as "base-owner" for the auto-complete option only if the developer has not specified the AUTHID CURRENT_USER clause, but this is not really necessary because in case of the AUTHID CURRENT_USER clause the IDE can't really know which user context should be used....