Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //application.property
- #Data Source Properties
- spring.datasource.driverClassName = com.mysql.jdbc.Driver
- spring.datasource.url = jdbc:mysql://localhost:3306/book_shop_system_gb?useSSL=false&createDatabaseIfNotExist=true
- spring.datasource.username = root
- spring.datasource.password =
- #JPA Properties
- spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
- spring.jpa.properties.hibernate.format_sql = TRUE
- spring.jpa.properties.hibernate.show_sql = TRUE
- spring.jpa.hibernate.ddl-auto = update
- ###Logging Levels
- # Disable the default loggers
- logging.level.org = WARN
- logging.level.blog = WARN
- #Show SQL executed with parameter bindings
- logging.level.org.hibernate.SQL = DEBUG
- logging.level.org.hibernate.type.descriptor = TRACE
- //dipendancies
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>com.ivan</groupId>
- <artifactId>bookchopsystem</artifactId>
- <version>1.0-SNAPSHOT</version>
- <parent>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-parent</artifactId>
- <version>2.0.4.RELEASE</version>
- </parent>
- <dependencies>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-jpa</artifactId>
- </dependency>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.5.1</version>
- <configuration>
- <source>1.8</source>
- <target>1.8</target>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement