When we install Pega personal edition, It internally creates rules and data schema in postgres database.
Follow the below steps to map a class to table in personal edition.
1) Create a table in the data schema of postgres database.
CREATE TABLE data.table_name_sample
( column1 number(10) NOT NULL,
column2 varchar2(50) NOT NULL,
column3 varchar2(50)
);
2) Create a class in pega
3) Create a Database Table Instance for the class created in step2 and configure the below.
In Database Field select PegaDATA from autopopulate
In Table Name Field enter the table we have created in the data schema table_name_sample