Created
June 21, 2018 22:07
-
-
Save Ikhiloya/31689101e769135849a409872a67520d to your computer and use it in GitHub Desktop.
properties file for spring-boot-jpa-oracle tutorial
This file contains hidden or 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
## use create when running the app for the first time | |
## then change to "update" which just updates the schema when necessary | |
spring.jpa.hibernate.ddl-auto=create | |
spring.jpa.database-platform=org.hibernate.dialect.Oracle10gDialect | |
spring.datasource.url= jdbc:oracle:thin:@localhost:1521:XE | |
spring.datasource.username=system | |
spring.datasource.password=changeme | |
spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver | |
## this shows the sql actions in the terminal logs | |
spring.jpa.show-sql=true | |
##optional, but just in case another application is listening on your default port (8080) | |
server.port = 8034 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment