Hello Prerna,
You need to deploy the corresponding JDBC drivers in SAP PI with the help of basis team and basis team will provide the JDBC driver, connection and login credentials.
Please refer the below links
How to Deploy the JDBC Driver in PI 7.1/7.3
Deploying Oracle JDBC Driver in PI 7.3 System through SUM
Refer the below link for JDBC connection details
Regards
Bhargava Krishna