Skip to content

Commit dca09f1

Browse files
author
Araf Karsh Hamid
committed
Updated the readme with links to the branches
1 parent 044be2d commit dca09f1

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
Two versions are available for the template
44

5-
1. SpringBoot 2.7.2 with Java 8 and Java EE
6-
2. SpringBoot 3.1.0 with Java 17 and Jakarta EE
7-
3. main with SpringBoot 3.1.0 with other features
5+
1. [SpringBoot 2.7.2 with Java 8 and Java EE](https://github.com/MetaArivu/ms-cache-kafka-quickstart/tree/SpringBoot-272-Java-8-Java-EE)
6+
2. [SpringBoot 3.1.0 with Java 17 and Jakarta EE](https://github.com/MetaArivu/ms-cache-kafka-quickstart/tree/SpringBoot-310-Java-17-Jakarta-EE)
7+
3. [main with SpringBoot 3.1.0 with other features](https://github.com/MetaArivu/ms-cache-kafka-quickstart)
88

99
Checkout the respective branches for the Microservices template
1010

application.properties

+20-20
Original file line numberDiff line numberDiff line change
@@ -69,32 +69,32 @@ logging.file.total-size-cap=3GB
6969
# =======================================================================
7070
# H2 DB Properties
7171
# =======================================================================
72-
db.server=mem
73-
db.port=5432
74-
db.name=ms_cache
75-
db.schema=ms_schema
76-
db.vendor=H2
72+
#db.server=mem
73+
#db.port=5432
74+
#db.name=ms_cache
75+
#db.schema=ms_schema
76+
#db.vendor=H2
7777
# To Store the Data in File
7878
#spring.datasource.url=jdbc:h2:file:/data/demo
79-
spring.datasource.url=jdbc:h2:${db.server}:${db.name};DB_CLOSE_ON_EXIT=FALSE
80-
spring.datasource.driverClassName=org.h2.Driver
81-
spring.datasource.username=sa
82-
spring.datasource.password=password
83-
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
79+
#spring.datasource.url=jdbc:h2:${db.server}:${db.name};DB_CLOSE_ON_EXIT=FALSE
80+
#spring.datasource.driverClassName=org.h2.Driver
81+
#spring.datasource.username=sa
82+
#spring.datasource.password=password
83+
#spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
8484
# =======================================================================
8585
# PostgreSQL DB Properties -
8686
# To USE THIS COMMENT OUT H2 DB Properties & Un Comment Below Properties
8787
# =======================================================================
88-
#db.server=localhost
89-
#db.port=5433
90-
#db.name=ms_cache
91-
#db.schema=ms_schema
92-
#db.vendor=PostgreSQL
93-
#spring.datasource.url=jdbc:postgresql://${db.server}:${db.port}/${db.name}
94-
#spring.datasource.driverClassName=org.postgresql.ds.PGSimpleDataSource
95-
#spring.datasource.username=postgres
96-
#spring.datasource.password=
97-
#spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
88+
db.server=localhost
89+
db.port=5433
90+
db.name=ms_cache
91+
db.schema=ms_schema
92+
db.vendor=PostgreSQL
93+
spring.datasource.url=jdbc:postgresql://${db.server}:${db.port}/${db.name}
94+
spring.datasource.driverClassName=org.postgresql.ds.PGSimpleDataSource
95+
spring.datasource.username=postgres
96+
spring.datasource.password=
97+
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
9898
# =======================================================================
9999
# JPA / Hibernate Properties
100100
# ------------------------------------------------------------------------

0 commit comments

Comments
 (0)