dont put database in jar file when building.
The resource folder ends up in the jar file. The database is NOT a static resource
This commit is contained in:
parent
a7f63c65ca
commit
5f51e6e007
1
prototype/.gitignore
vendored
Normal file
1
prototype/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
./test.db
|
@ -6,7 +6,7 @@
|
|||||||
logging.level.org.springframework.web=INFO
|
logging.level.org.springframework.web=INFO
|
||||||
|
|
||||||
# DATABASE
|
# DATABASE
|
||||||
spring.datasource.url = jdbc:sqlite:src/main/resources/test.db
|
spring.datasource.url = jdbc:sqlite:./test.db
|
||||||
spring.datasource.driverClassName = org.sqlite.JDBC
|
spring.datasource.driverClassName = org.sqlite.JDBC
|
||||||
spring.jpa.properties.hibernate.dialect = org.hso.ecommerce.db.SQLiteDialect
|
spring.jpa.properties.hibernate.dialect = org.hso.ecommerce.db.SQLiteDialect
|
||||||
spring.jpa.hibernate.ddl-auto=update
|
spring.jpa.hibernate.ddl-auto=update
|
||||||
|
Reference in New Issue
Block a user