Print Thread
New Package Wizard
#802 08/25/00 12:46 AM
Joined: Mar 2000
Posts: 7
Philadelphia , PA, USA
C
Member
OP Offline
Member
C
Joined: Mar 2000
Posts: 7
Philadelphia , PA, USA
I have been trying out the new PackageWizard!
It is very cool! This will really make life working with packages much easier.

I do have one issue and one suggestion for an enhancement.

In our database system we have multiple database schemas (with multiple versions of schemas in some cases). To group the packages under each schema, our DBA uses a convention of 'prefix_package_name' for a global synonym, where prefix is usually the schema name not including the version.

Unfortunately the Package Wizard either uses the actual schema, (schema.package_name) or relies on an implicit synonym that is the same as the package name.

If there was a way to add a package name prefix in the wizard for the synonym that would allow us to use this. Without it, it will be impossible to use the generated code without editing the package names.

The suggestion is to create public properties in the TDerivedPackageObject for the package constants and variables. I realize this would complicate the parsing of the spec, and require generating alot of Get/Set methods, but it would truly make the object represent the package.

Thanks.
Charlie

Re: New Package Wizard
#803 08/28/00 10:25 PM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
I have added this to the enhancement requests. A more general approach would be a 'Synonym' property in the TOracleCustomPackage class. When set, this name will be used as the package name. Otherwise the original package name will be used.

------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations
Re: New Package Wizard
#804 08/28/00 10:33 PM
Joined: Mar 2000
Posts: 7
Philadelphia , PA, USA
C
Member
OP Offline
Member
C
Joined: Mar 2000
Posts: 7
Philadelphia , PA, USA
Thanks, Marco.

You are right. A synonym property in the base class would be ideal.

I look forward to the release with this feature in it!

Any thoughts about the package constants and variables as properties? Good idea? Bad idea?


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.226s Queries: 14 (0.087s) Memory: 2.5020 MB (Peak: 3.0393 MB) Data Comp: Off Server Time: 2024-05-04 02:39:27 UTC
Valid HTML 5 and Valid CSS