This website works better with JavaScript.
Home
Explore
Register
Sign In
Fincer
/
java-bookstore
mirror of
https://github.com/Fincer/java-bookstore
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
4
Wiki
Activity
Browse Source
Init SQL support
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
v0.0.1-alpha
Pekka Helenius
4 years ago
parent
99a6b26d21
commit
0b4f4773d0
2 changed files
with
17 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+11
-0
bookstore/pom.xml
+6
-0
bookstore/src/main/resources/application.properties
+ 11
- 0
bookstore/pom.xml
View File
@ -41,6 +41,17 @@
<artifactId
>
spring-boot-starter-test
</artifactId>
<scope
>
test
</scope>
</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>
<build
>
+ 6
- 0
bookstore/src/main/resources/application.properties
View File
@ -3,6 +3,12 @@
#
server.port=8080
spring.h2.console.enabled=true
spring.h2.console.path=/h2-console
spring.datasource.url=jdbc:h2:mem:testdb
spring.jpa.show-sql=true
# Ref: https://docs.spring.io/spring-boot/docs/1.2.0.M2/reference/html/common-application-properties.html
# # EMBEDDED SERVER CONFIGURATION (ServerProperties)
Write
Preview
Loading…
Cancel
Save