A database environment includes a staging database and master database.
Among other functions, the staging database provides a location to store
data prior to be copied over the master database. Each time the database
environment is modified (e.g., a developer specifies a different
configuration associated with the staging database and/or the master
database), a database administrator initiates execution of an
auto-repository process to automatically generate a corresponding new set
of routines enabling management of the database environment. Accordingly,
each time there are changes to (one or more schemas associated with) the
database environment, there is no need for a programmer to manually
modify the corresponding management routines based on the changes.
Instead, the auto-repository process automatically generates the
corresponding set of custom routines to enable management of the database
environment.