Hi,
I want to debug how a data entity is inserting records into table.
Please guide on how to debug it.
Thanks
Hi,
I want to debug how a data entity is inserting records into table.
Please guide on how to debug it.
Thanks
I debugged code myself for some issues I was facing , so I knew it . You marked your answer as verified instead of mine .
Thank you Sukrut.
Where did you got this info from? Any whitepapers or blogs ?
You can put breakpoints in classes like DMFStagingWriter to see how data is inserted in staging . To see how to is imported in target put breakpoint in processRecords method of DMFEntityWriter class and debug . If you want to see what data you are getting in any datasource you can use mapentityToDatasource method and get datasource like below
if (_dataSourceCtx.name() == dataEntityDataSourceStr(HRMWorkerEntity, HcmEmployment)) { HcmEmployment hcmEmployment = _dataSourceCtx.getBuffer(); }
I was asking where to put breakpoints in order to debug data import. Basically i want to debug a datasource which is set to readonly. I want to debug, what record it is fetching.
Also i couldnt find any links where information about data entity method is given. Like when to insertEntityDataSource and other methods.
Are you asking how to debug in general or where to put breakpoints?
You can put breakpoint in your table's insert method, attach it to process and run the data management import.
If you want to debug your Public entity with external requests, you will need to use "OData proxy generator", or write your own code and then debug.