Skip to content

Instantly share code, notes, and snippets.

View Nasruddin's full-sized avatar
🤓
From India 🇮🇳 with ❤️

Nasruddin Nasruddin

🤓
From India 🇮🇳 with ❤️
View GitHub Profile
@MonicaG
MonicaG / oracleJDBCSetup
Last active September 29, 2016 15:03
Using Oracle with Spring Boot
If you do not have an oracle driver do steps 1 and 2 first. Otherwise skip to step 3.
1) Download the jdbc driver from oracle.
2) Install the driver into your local maven .m2 repository. Example:
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0.4 -Dpackaging=jar -Dfile=ojdbc6.jar -DgeneratePom=true
In the above example the ojdbc6.jar version 11.2.0.4 is used. Replace the -DartifactId=ojdbc6 -Dversion=11.2.0.4 and -Dfile=ojdbc6.jar with the driver name/version you downloaded.