Notion

반응형
반응형
Notion

QueryDSL-Postgres 한글 정렬 안될때, collate 설정

Postgres사용하여 QueryDSL로 데이터 조회할 때, 한글만 정렬이 깨지는 것을 확인. 찾아보니 Postgres 시스템 설정으로 인한 것인데, DB설정 자체를 바꾸는 방법은 찾았고, 나의 경우는 한글과 영문이 각각 다른 컬럼에 저장되어있기 때문에 각 컬럼의 조회 세팅만 바꿔주고 싶었다. - 조회할 때마다 다르게 호출할 경우 (SpringBoot에서 QueryDSL로 호출할 때 collate 기능은 따로 찾지 못해서 아래와 같이 호출해서 사용할수는 없었다.) select * from brand order by brand_name_korean collate "ko_KR.utf8"; - Postgres 시스템 세팅을 바꾸려면 update pg_database set datcollate='ko_KR.ut..

Notion

Springboot compileClassPath 확인

Springboot compileClassPath 확인 스프링에서 gradle을 사용할 때 compile class path를 확인하고 싶다면 터미널에 아래 명령어를 입력해서 확인할 수 있다. 1. 명령어 ❯ ./gradlew dependencies --configuration compileClasspath 2. 결과화면 compileClasspath - Compile classpath for source set 'main'. \--- org.springframework.boot:spring-boot-starter-web -> 2.7.6 +--- org.springframework.boot:spring-boot-starter:2.7.6 | +--- org.springframework.boot:spring..

Notion

[Server]웹서버_WAS_DB서버_파일서버

▷ 웹 서비스 구조, Web Server와 WAS의 차이 ▶︎ 서버 하드웨어 개발환경 웹 서버 웹어플리케이션 서버(WAS) 데이터베이스 서버 파일서버 - HTTP를 이용한 요청/응답처리 - 웹 상의 정적콘텐츠 처리 (CSS, javascript, image) - WEB-WAS-DB의 3계층구조 - 동적콘텐츠 처리 (Servlet, JSP) - 데이터 수집, 저장의 용도 - 파일 저장 하드웨어로 물리 저장장치를 활용한 서버 Apache, IIS, Google 서버, Nginx Tomcat, Weblogic, Jeus, Resin MySql, Oracle, MsSQl 등 대용량 HDD, SSD 등 ▶︎ WEB서버와 WAS의 차이 ▶︎ Web Service Architecture 다양한 구조를 가질 수 있다...

emojiyeon
'Notion' 카테고리의 글 목록