Last active
May 11, 2020 15:29
-
-
Save aalmiray/92f3e67195ae2cac92d8fbf359985fa1 to your computer and use it in GitHub Desktop.
Micronaut + Oracle JDBC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
datasources: | |
default: | |
url: ${JDBC_URL:`jdbc:oracle:thin:@localhost:1521/XEPDB1`} | |
username: ${JDBC_USER:system} | |
password: ${JDBC_PASSWORD:S3cr3TP4$$wd} | |
driverClassName: ${JDBC_DRIVER:oracle.jdbc.driver.OracleDriver} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies { | |
implementation('io.micronaut.configuration:micronaut-jdbc-ucp') | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dataSource: | |
url: ${JDBC_URL:`jdbc:oracle:thin:@localhost:1521/XEPDB1`} | |
username: ${JDBC_USER:system} | |
password: ${JDBC_PASSWORD:S3cr3TP4$$wd} | |
driverClassName: ${JDBC_DRIVER:oracle.jdbc.driver.OracleDriver} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dependencies> | |
<dependency> | |
<groupId>io.micronaut.configuration</groupId> | |
<artifactId>micronaut-jdbc-ucp</artifactId> | |
<scope>compile</scope> | |
</dependency> | |
</dependencies> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment