SHARE
TWEET

Untitled

a guest Dec 31st, 2018 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. spring:
  2.   freemarker:
  3.     template-loader-path: classpath:/templates
  4.  
  5.   datasource:
  6.     url: jdbc:postgresql://localhost:5432/proxycircuit
  7.     username: postgres
  8.     password: password
  9.     driver-class-name: org.postgresql.Driver
  10.  
  11.   jpa:
  12.     show-sql: true
  13.     properties:
  14.       hibernate:
  15.         enable_lazy_load_no_trans: false
  16.         jdbc:
  17.           lob:
  18.             non_contextual_creation: true
  19.         dialect: org.hibernate.dialect.PostgreSQLDialect
  20.     hibernate:
  21.       ddl-auto: create-drop
  22.  
  23.  
  24. ---
  25.  
  26. spring:
  27.   profiles:
  28.     active: development
  29.  
  30.  
  31. ---
  32.  
  33. spring:
  34.   profiles: staging
  35.  
  36.   jpa:
  37.     show-sql: true
  38.     hibernate:
  39.       ddl-auto: update
  40.  
  41. logging:
  42.   level:
  43.     root: DEBUG
  44.  
  45. ---
  46.  
  47. spring:
  48.   profiles: production
  49.  
  50.   jpa:
  51.     show-sql: false
  52.     hibernate:
  53.       ddl-auto: update
  54.    
  55. java -jar application.jar -Dspring.profiles.active=staging
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top