-
Notifications
You must be signed in to change notification settings - Fork 525
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update pom.xml Upgraded java and spring boot version * Update application.properties * Update Cart.java * Update Item.java * Update User.java * Update UserOrder.java
- Loading branch information
Showing
6 changed files
with
53 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
spring.datasource.driver-class-name=org.h2.Driver | ||
spring.datasource.url=jdbc:h2:mem:bootapp;DB_CLOSE_DELAY=-1 | ||
spring.datasource.url=jdbc:h2:mem:bootapp;NON_KEYWORDS=user | ||
spring.datasource.username=sa | ||
spring.datasource.password= | ||
spring.jpa.hibernate.ddl-auto=update | ||
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.H2Dialect | ||
spring.jpa.hibernate.ddl-auto=create | ||
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.H2Dialect | ||
spring.jpa.defer-datasource-initialization=true | ||
spring.jpa.properties.hibernate.format_sql=true | ||
|
||
server.port=8080 | ||
spring.h2.console.enabled=true | ||
spring.h2.console.path=/h2 |