fee-fi-fo-fum
postgreSQL + SpringBoot
BackEnd🧵 2023. 10. 7. 22:18

JPA와 postgreSQL 연동 방법 라이브러리 설치 JPA와 postGreSQL 라이브러리를 설치한다. implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.postgresql:postgresql' application.yml 설정 spring: datasource: url: jdbc:postgresql://localhost:5432/ username: password: driver-class-name: org.postgresql.Driver jpa: show-sql: true database: postgresql hibernate: ddl-auto: update 이렇게 설정을 마치면 사용이 ..

article thumbnail
postgreSQL 설치 및 테이블 생성
DataBase💾 2023. 10. 7. 22:10

postgreSQL postgreSQL은 위키에서 아래와 같이 설명한다. PostgreSQL은 확장 가능성 및 표준 준수를 강조하는 객체-관계형 데이터베이스 관리 시스템의 하나이다. BSD 허가권으로 배포되며 오픈소스 개발자 및 관련 회사들이 개발에 참여하고 있다. 나는 이전 회사에서 PgAdmin으로 postgreSQL을 접했다. 오래된 프로그램들이 많다보니 SQLSERVER로 DB를 운영하는 솔루션들이 많았는데 PgAdmin의 UI를 보고 우와 참 깔끔하다 하고 생각했던 적이 있다. 헛소리는 각설하고! 포스트그레와 스프링부트를 연동하는 방법을 알아보자. 설치 및 접속 설치 방법 나는 윈도우를 사용하여 설치하는 방법이 간단했다. PostgreSQL: Downloads www.postgresql.org ..

profile on loading

Loading...