Skip to content
Snippets Groups Projects
Commit 4bdbf065 authored by Petr Kabourek's avatar Petr Kabourek
Browse files

make target jar executable

parent 0fc664d8
No related branches found
No related tags found
1 merge request!7Airports flights service
......@@ -39,7 +39,7 @@
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.2.23</version> <!-- Replace with the desired version -->
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>cz.muni.fi.pa165</groupId>
......@@ -48,5 +48,19 @@
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
spring.jpa.hibernate.ddl-auto=update
spring.jpa.generate-ddl=true
hibernate.physical_naming_strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
hibernate.implicit_naming_strategy=org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/airport_manager
spring.datasource.username=root
spring.datasource.password=root1120
spring.jpa.properties.hibernate.hbm2ddl.create_namespaces=true
# Specify the table engine
hibernate.dialect.storage_engine=innodb
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
spring.datasource.driver-class-name=org.postgresql.Driver
spring.datasource.url=jdbc:postgresql://localhost:5432/airport-manager
spring.datasource.username=root
spring.datasource.password=123
jakarta.peristence.create-database-schemas=true
#spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#spring.datasource.url=jdbc:mysql://localhost:3306/airport_manager
#spring.datasource.username=root
#spring.datasource.password=root1120
## Specify the table engine
#hibernate.dialect.storage_engine=innodb
springdoc.swagger-ui.path=/swagger-ui.html
application-description=API Description
......
......@@ -17,7 +17,7 @@ import javax.persistence.*;
@Entity
@Table(name = "employee", schema = Constants.HR_SCHEMA)
@Inheritance(strategy = InheritanceType.JOINED)
@
public class Employee implements Serializable {
@Id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment