cancel
Showing results for 
Search instead for 
Did you mean: 

Debug generated SQL in CAPM

sagar17bansal
Participant
0 Kudos
777

Hi All,

Can anyone please help me with the steps to check the generated SQL statement when any query is being fired via a CAPM based OData service.

Thanks & Regards,

Sagar Bansal

View Entire Topic
marcbecker
Product and Topic Expert
Product and Topic Expert
0 Kudos

When using CAP Java simply set logger "com.sap.cds.persistence.sql" to "DEBUG", for example in application.yaml:

logging.level:
  com.sap.cds.persistence.sql: DEBUG