Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
javabyranjith committed Feb 29, 2020
1 parent cc27d54 commit 56b5874
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 3 deletions.
6 changes: 6 additions & 0 deletions sboot-jpa-h2db/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.gradle/
.settings/
bin/

.classpath
.project
14 changes: 14 additions & 0 deletions sboot-jpa-h2db/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
### TOOLS & TECHNOLOGIES
1. Eclipse/STS
2. SpringBoot
3. H2DB
4. JPA

### CONCEPTS/TOPICS COVERED
1.

### HOW TO RUN?
http://localhost:6060/restapi-swagger/

### H2 DB Console
http://localhost:6060/h2-console
3 changes: 1 addition & 2 deletions sboot-jpa-h2db/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,14 @@ apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'

group = 'jbr.spring.boot'
group = 'jbr.sboot'
version = '0.1'
sourceCompatibility = 1.8

repositories {
mavenCentral()
}


dependencies {
compile('org.springframework.boot:spring-boot-starter-actuator')
compile('org.springframework.boot:spring-boot-starter-data-jpa')
Expand Down
2 changes: 1 addition & 1 deletion sboot-jpa-h2db/settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rootProject.name = 'spring-boot-jpa-h2db'
rootProject.name = 'sboot-jpa-h2db'
5 changes: 5 additions & 0 deletions sboot-jpa-h2db/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
server.port=6060
management.server.port=6061

spring.h2.console.enabled=true
spring.datasource.driver-class-name=org.h2.Driver
spring.datasource.url=jdbc:h2:mem:testdb
spring.datasource.username=ranjith
spring.datasource.password=sekar

spring.jpa.show-sql=true

0 comments on commit 56b5874

Please sign in to comment.