Skip to content

Instantly share code, notes, and snippets.

@ekosutrisno
Created March 31, 2021 07:51
Show Gist options
  • Save ekosutrisno/c0432b902ffee84533fa100d5420c909 to your computer and use it in GitHub Desktop.
Save ekosutrisno/c0432b902ffee84533fa100d5420c909 to your computer and use it in GitHub Desktop.
Testing Example
server.port=9901
server.error.include-message=always
server.error.include-binding-errors=always
spring.application.name=STUDENT-SERVICE
spring.datasource.driver-class-name=org.postgresql.Driver
spring.datasource.url=jdbc:postgresql://localhost:5433/integrations
spring.datasource.username=postgres
spring.datasource.password=admin
spring.jpa.hibernate.ddl-auto=update
spring.jpa.open-in-view=false
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.properties.hibernate.format_sql=true
server:
port: 9901
error:
include-message: always
include-binding-errors: always
spring:
application:
name: STUDENT SERVICES
datasource:
url: jdbc:postgresql://localhost:5433/integrations
username: postgres
password: admin
driver-class-name: org.postgresql.Driver
jpa:
open-in-view: false
show-sql: true
hibernate:
ddl-auto: update
properties:
hibernate:
dialect: org.hibernate.dialect.PostgreSQLDialect
fomat_sql: true
server:
port: 9901
spring:
application:
name: STUDENT SERVICES
datasource:
url: jdbc:h2://mem:db;DB_CLOSE_DELAY=-1
username: sa
password: sa
driver-class-name: org.h2.Driver
jpa:
open-in-view: false
show-sql: true
hibernate:
ddl-auto: create-drop
properties:
hibernate:
dialect: org.hibernate.dialect.PostgreSQLDialect
fomat_sql: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment