Advertisement
ivanyordanov67

Untitled

Nov 12th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1. //application.property
  2.  
  3. #Data Source Properties
  4. spring.datasource.driverClassName = com.mysql.jdbc.Driver
  5. spring.datasource.url = jdbc:mysql://localhost:3306/book_shop_system_gb?useSSL=false&createDatabaseIfNotExist=true
  6. spring.datasource.username = root
  7. spring.datasource.password =
  8.  
  9.  
  10.  
  11. #JPA Properties
  12. spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
  13. spring.jpa.properties.hibernate.format_sql = TRUE
  14. spring.jpa.properties.hibernate.show_sql = TRUE
  15. spring.jpa.hibernate.ddl-auto = update
  16.  
  17. ###Logging Levels
  18. # Disable the default loggers
  19. logging.level.org = WARN
  20. logging.level.blog = WARN
  21.  
  22. #Show SQL executed with parameter bindings
  23. logging.level.org.hibernate.SQL = DEBUG
  24. logging.level.org.hibernate.type.descriptor = TRACE
  25.  
  26. //dipendancies
  27.  
  28. <?xml version="1.0" encoding="UTF-8"?>
  29. <project xmlns="http://maven.apache.org/POM/4.0.0"
  30. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  31. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  32. <modelVersion>4.0.0</modelVersion>
  33.  
  34. <groupId>com.ivan</groupId>
  35. <artifactId>bookchopsystem</artifactId>
  36. <version>1.0-SNAPSHOT</version>
  37.  
  38. <parent>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-parent</artifactId>
  41. <version>2.0.4.RELEASE</version>
  42. </parent>
  43.  
  44. <dependencies>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-data-jpa</artifactId>
  48. </dependency>
  49.  
  50. <dependency>
  51. <groupId>mysql</groupId>
  52. <artifactId>mysql-connector-java</artifactId>
  53. </dependency>
  54. </dependencies>
  55.  
  56. <build>
  57. <plugins>
  58. <plugin>
  59. <groupId>org.apache.maven.plugins</groupId>
  60. <artifactId>maven-compiler-plugin</artifactId>
  61. <version>3.5.1</version>
  62. <configuration>
  63. <source>1.8</source>
  64. <target>1.8</target>
  65. </configuration>
  66. </plugin>
  67. </plugins>
  68. </build>
  69.  
  70. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement