Hello, you are not logged in.  Login or sign up
Knowledge >> Database Knowledge >> Steven Feuerstein's PL/SQL Obsession >> My Pet Projects and Contributions >> Quest CodeGen Utility (QCGU)
 Search

Improve productivity and code quality with
Quest CodeGen Utility (QCGU)

About QCGU

Download QCGU

PL/SQL developers spend lots of time writing the same kind of code over and over again, much of it based on the underlying tables, views and programs with which we are working.  To save time, we frequently take a "quick and dirty" approach, which is often incomplete and error-prone.

QCGU offers a new approach: choose a template from the QCGU repository (or build your own) that reflects the pattern of code you want to write. Then run that template for a particular database object (usually a table or a program). QCGU will then generate the code in a fraction of the time you would need to write it yourself.

You can think of QCGU as a "design pattern factory," allowing you to generate virtually any sort of code you want (not just Oracle PL/SQL!). But of course most developers aren't going to sit around writing patterns. You will most likely take advantage of QCGU in one of the following ways:

  1. Generate table API packages (packages that contain procedures and functions that perform most commonly-needed SQL operations). Specifically, QCGU generated three packages: the Change Package ([tablename]_cp) to perform DML; the Query Package ([tablename]_qp) to perform queries; and the Type Package ([tablename]_tp) to provide pre-defined declaration types. You then call the appropriate program in your application code and skip writing the SQL!
     
  2. Utilize the QCGU error management framework. QCGU utilizes in its table API packages a standard error management package named qd_runtime, which in turn writes to the log table (qd_log) and error tables (qd_err_instance and qd_context). You can use this same generalized error management framework in your own applications.

Quest CodeGen Utility is a freeware product.  Quest Support does not support this product.  Instead, users of CodeGen will provide support for each other.

Quest Software is providing a very fine discussion forum as part of its Quest CodeGen Utility community that is available for users of the product.  So please visit the community and then press the "Join a discussion" link on the left side of the page to post your question or — even better! — answer a question or two.

You currently do not have to register in order to post or reply on the forums.  That may change, and we encourage you to register so that you can take full advantage of this and other Quest Software on-line communities and resources.

Also use QCGU to...

Create your own code repositories and toolboxes.  Every application has its own patterns and common utilities. Use QCGU to share application-specific code throughout your team.  More...

Generate comprehensive table API packages as part of an overall development architecture for PL/SQL.  From standardized error handling to programs that execute all common SQL operations, this architecture will have a dramatic impact on the entire lifecycle of your application.  More...


System Requirements

  1. Windows 98, Windows 2000, or Windows XP for the front-end user interface.
  2. Oracle RDBMS 8.1.7 (or higher) for the back-end.
  3. 25 megabytes of space in the QCGU account's tablespace.
  4. 15 megabytes of space in the SYS tablespace for the QCGU stored code.
Copyright 2008 by Quest Software  | Terms Of Use | Privacy Statement | Contact Us