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:
		
							
								
								
									
										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
 | 
			
		||||
 | 
			
		||||
# 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.jpa.properties.hibernate.dialect = org.hso.ecommerce.db.SQLiteDialect
 | 
			
		||||
spring.jpa.hibernate.ddl-auto=update
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user