Skip to content

Instantly share code, notes, and snippets.

@Ikhiloya
Created June 21, 2018 22:07
Show Gist options
  • Save Ikhiloya/31689101e769135849a409872a67520d to your computer and use it in GitHub Desktop.
Save Ikhiloya/31689101e769135849a409872a67520d to your computer and use it in GitHub Desktop.
properties file for spring-boot-jpa-oracle tutorial
## 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