Java2 JpaRepository Spring Data JPA에서 제공하는 인터페이스, JAP엔티티에 대한 기본 CRUD 선언만으로 사용할 수 있게 해준다. https://docs.spring.io/spring-data/jpa/docs/current/api/org/springframework/data/jpa/repository/JpaRepository.html JpaRepository (Spring Data JPA Parent 4.0.3 API)Deletes the given entities in a batch which means it will create a single query. This kind of operation leaves JPAs first level cache and the database out of sync. C.. 2026. 3. 9. [uniQdata/Java] org.postgresql.util.PSQLException: FATAL: role "postgres" does not exist 원인 - DB연결 시 postgres 사용자로 접속하려 하는 데, 해당 role이 없음 이유 - env.환경변수가 적용되지 앟은 상태에서 실행되어, 기본값이 사용된 상황이다.- 현재 루트에 env.local에 RDS 계정이 설정되어 있으나, 로드되지 않아 postgres로 접속을 시도하였고 실패한 것으로 보인다. 해결방법1. env.local 을 적용한 뒤 실행source env.local && ./gradlew bootRun 또는 IDE에서 실행 전에 env.local내용을 환경변수로 설정한다. 2026. 3. 9. 이전 1 다음