Populating database columns using the Column Populator
Use the Column Populator when the Pega 7 Platform is not running.
You can run the Database Column Populator utility when Pega 7 Platform is in use. However, the utility does not acquire a database lock on the rows it modifies. If a requestor updates an object at the same time that the Database Column Populator updates the corresponding database row, one of the updates might be overwritten and lost.
To populate database columns:
- Install a JDK (Java 7 or later) and define the path to that JDK in a JAVA_HOME environment variable.
- Navigate to the
scripts/utils
subdirectory in the installation directory.
- Edit the prpcUtils.properties file:
- Run the appropriate utilities script for your platform, prpcUtils.bat for Windows or prpcUtils.sh for Unix systems, with the expose option. For example:
./prpcUtils.sh expose
The column populator utility:
- Assembles a list of concrete classes to be processed.
- Determines which database tables contain the rows corresponding to instances of these classes.
- Performs an SQL Open statement immediately followed by an SQL Save statement for each row corresponding to those classes.
Open topic with navigation