Spring Boot and H2 Magic

in #springboot6 years ago

H2는 H2 console 이라고 하는 web interface 를 제공한다.

# Enabling H2 Console
  h2:
    console:
      enabled: true
      settings:
        web-allow-others: true


web-allow-others 옵션의 경우는 springboot application을 docker 로 구동했을 경우 remote server 에서 H2 console 에 접속하는 것을 허락한다.

console

jdbc:h2:mem:testdb

임에 유의하자.

Sort:  

Congratulations @ing486sarang! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 1 year!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!