Changeset c482a3d


Ignore:
Timestamp:
12/27/22 17:21:35 (23 months ago)
Author:
SazdovaEkaterina <sazdovaekaterina@…>
Branches:
main
Children:
dd17343
Parents:
4cc22f9
Message:

database setup

Location:
Prototype Application/Paw5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Prototype Application/Paw5/pom.xml

    r4cc22f9 rc482a3d  
    3737            <scope>test</scope>
    3838        </dependency>
     39        <dependency>
     40            <groupId>org.springframework.boot</groupId>
     41            <artifactId>spring-boot-starter-data-jpa</artifactId>
     42        </dependency>
     43        <dependency>
     44            <groupId>org.postgresql</groupId>
     45            <artifactId>postgresql</artifactId>
     46            <scope>runtime</scope>
     47        </dependency>
     48        <dependency>
     49            <groupId>org.springframework.boot</groupId>
     50            <artifactId>spring-boot-starter-jdbc</artifactId>
     51        </dependency>
    3952    </dependencies>
    4053
  • Prototype Application/Paw5/src/main/resources/application.properties

    r4cc22f9 rc482a3d  
     1spring.datasource.url=jdbc:postgresql://localhost:9999/db_202223z_va_prj_paw5
     2spring.datasource.username=db_202223z_va_prj_paw5_owner
     3spring.datasource.password=b53473cba3b3
    14
     5spring.datasource.hikari.connectionTimeout=20000
     6spring.datasource.hikari.maximumPoolSize=5
     7
     8spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQL95Dialect
     9spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
     10
     11spring.jpa.hibernate.ddl-auto=update
     12spring.jpa.show-sql=true
Note: See TracChangeset for help on using the changeset viewer.