Even after uploading oracle driver bundle and doing respective configurations for creating Form Data Model in aem 6.5 version. I am getting below error .
Followed steps of below mentioned post to build osgi bundle.
08.05.2020 13:26:12.042 *ERROR* [0:0:0:0:0:0:0:1  POST /libs/fd/fdm/content/crud.dermis.formDataModelManager.json HTTP/1.1] org.apache.metamodel.jdbc.JdbcUtils Error code=0, SQL state=null
Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver not found by org.apache.sling.datasource 
Just try this adobe's official documentation on JDBC connection pool this https://docs.adobe.com/content/help/en/experience-manager-64/developing/platform/jdbc.html
Here is the best example for implementing JDBC connection pool
Thanks & Regards,
I think you have not added Oracle JDBC dependency in your Pom.xml