spring.application.name=backend_springboot spring.mvc.view.prefix=/WEB-INF/views/ spring.mvc.view.suffix=.jsp # DataSource settings: set here your own configurations for the database # connection. spring.datasource.url = jdbc:postgresql://localhost:5432/project_springboot spring.datasource.username = postgres spring.datasource.password = postgres # Keep the connection alive if idle for a long time (needed in production) spring.datasource.testWhileIdle = true spring.datasource.validationQuery = SELECT 1 # Show or not log for each sql query spring.jpa.show-sql = true # Hibernate ddl auto (create, create-drop, update) spring.jpa.hibernate.ddl-auto = update # Naming strategy spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy # Use spring.jpa.properties.* for Hibernate native properties (the prefix is # stripped before adding them to the entity manager) # The SQL dialect makes Hibernate generate better SQL for the chosen database spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect # Fix Postgres JPA Error (Method org.postgresql.jdbc.PgConnection.createClob() is not yet implemented). #spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true #To change logging levels in the app # logging.level.org.springframework.web = trace # logging.level.org.hibernate = trace # IMPORTANT: to use data.sql file has to be uncommented #spring.sql.init.mode = always #pl.dmcs.eldarmuk.jwtSecret = jwtSecretKeyjwtSecretKeyjwtSecretKeyjwtSecretKeyjwtSecretKeyjwtSecretKeyjwtSecretKeyjwtSecretKeyjwtSecretKeyjwtSecretKeyjwtSecretKeyjwtSecretKeyjwtSecretKeyjwtSecretKeyjwtSecretKey #pl.dmcs.eldarmuk.jwtExpiration = 3600