File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # This is a sample application.properties file
2+ # WARNING! It uses the H2 in-memory database, so all data will be lost when you restart the application
3+
4+ spring.datasource.url =jdbc:h2:mem:AZ;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
5+ spring.datasource.driverClassName =org.h2.Driver
6+ spring.datasource.username =sa
7+ spring.datasource.password =
8+ spring.jpa.database-platform =org.hibernate.dialect.H2Dialect
9+
10+ # Example using a PostgreSQL database
11+ # spring.datasource.url=jdbc:postgresql://pg_edi/edi
12+ # spring.datasource.username=postgres
13+ # spring.datasource.password=ritmare2013
14+ # spring.datasource.driverClassName=org.postgresql.Driver
15+ # spring.datasource.testOnBorrow=true
16+ # spring.datasource.validationQuery=SELECT 1
17+ # spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
18+
19+ spring.jpa.properties.hibernate.globally_quoted_identifiers =true
20+ spring.jpa.hibernate.naming-strategy =org.hibernate.cfg.EJB3NamingStrategy
21+ spring.jpa.hibernate.ddl-auto =update
22+
23+ spring.data.rest.baseUri =edi
24+ spring.data.rest.base-uri =edi
25+
26+ server.port =8080
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ cd ../EDI-T
4+ mvn clean package && cp target/EDI-T-0.0.1-SNAPSHOT.jar ../demo/edi.jar && cd ../demo && ./edi.sh
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ java -Dspring.config.location=. -jar edi.jar
You can’t perform that action at this time.
0 commit comments