How to connect to JDBC database in APIGEE to execute queries?

Hi,

I have a requirement where when an API request comes to Apigee, it connects to JDBC and executes database queries to save and retrieve the OTP. What is the process to connect to JDBC database and execute query in Apigee?

@Mukundha Madhavan

0 2 424
2 REPLIES 2

For something like this you'd need to write a Java Callout: https://docs.apigee.com/api-platform/reference/policies/java-callout-policy

I would write an external service to do the work of JDBC. Maybe use App Engine or Cloud Run or something similar. Then connect from Apigee to that service. Apigee is not intended to be a general purpose application server.