[Spring boot] Integrating with h2 database
Posted Answer1215
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[Spring boot] Integrating with h2 database相关的知识,希望对你有一定的参考价值。
In pom.xml add dependency:
<dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> </dependency> </dependencies>
Then in application.properties:
spring.h2.console.enabled=true spring.h2.console.path=/h2
Now, in the broswer, we can access h2 database though url: localhost:8080/h2
以上是关于[Spring boot] Integrating with h2 database的主要内容,如果未能解决你的问题,请参考以下文章
Integrating morphology and phylogenomics supports a terrestrial origin of insect flight
论文阅读Integrating Tree Path in Transformer for Code Representation
论文阅读Integrating Tree Path in Transformer for Code Representation
论文阅读Integrating Tree Path in Transformer for Code Representation
论文笔记:Hierarchical Deep Reinforcement Learning:Integrating Temporal Abstraction and Intrinsic
论文笔记:Integrating Classification and Association Rule Mining (即,CBA算法介绍)