Persistent Objects: A Quick Reference

By Abdul Hakim, Satyam Computer Services Ltd

Objective 

To store references to the persistent object persistently in the database. 

Step: 1 -> Create a database table 

This table should contain 2 fields of type OS_GUID in addition to the GUID object attribute. The first field is used to store the instance GUID while the other is used to store the class GUID.

 

Step: 2 ->Create a Persistent Class

 

In the next screen select the class type as Persistent Class and then hit Save Button. 

 

Step: 3 -> Persistent Mapping or Mapping 

Goto->Persistence Representation 

 

Give the table name. For e.g. ZSTUDENT03 and hit the enter button 

 

Table fields appear in the lower half of the tool screen. Double Click the table field and press the  button. Add the remaining fields. 

Click here to continue...

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image