Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Data
- @Entity
- @EntityListeners(AuditingEntityListener.class)
- public class Province {
- @Id
- @GeneratedValue(strategy = GenerationType.IDENTITY)
- Long Id;
- String name;
- @Column(nullable = false, columnDefinition = "MultiPolygon")
- MultiPolygon multiPolygon;
- }
- server:
- port: 8080
- logging:
- level:
- com.mousavi007.serverhavadan: debug
- spring:
- mail:
- host: smtp.gmail.com
- port: 587
- username:********
- password: ******
- properties:
- mail:
- smtp:
- auth: true
- starttls:
- enable: true
- protocol: smtp
- default-encoding: utf-8
- datasource:
- url: jdbc:mysql://localhost:3306/havadan
- username: *************
- password: *************
- platform: mysql
- jpa:
- hibernate:
- ddl-auto: update
- database-platform: org.hibernate.dialect.MySQL8Dialect
- database: mysql
- show-sql: true
Add Comment
Please, Sign In to add comment