본문 바로가기

전체 글

SpringBoot3/Kotlin1.7 spring boot 3.x / kotlin 1.7.x / jpa+querydsl 뼈대 만들어 보기.. 잘~되면 좋고.. https://github.com/KimHyeongi/spring-boot3-kotlin GitHub - KimHyeongi/spring-boot3-kotlin Contribute to KimHyeongi/spring-boot3-kotlin development by creating an account on GitHub. github.com 더보기
급한대로 대량 row 엑셀 처리 개인적으로 대용량 엑셀 read시에 예전 버전의 poi 사용을 잘 안하는데.. 이번에 팀내 개발자분이 프로모션 쿠폰 발행으로 300만건 단위를 돌려야 하는 상황에 대한 개발을 하고 계셔서 같이 테스트를 해보니.. 역시. 곧 업무를 정리하는 상황에 나로써는 깊게 파악해 볼 수 가 없어서 우선 요놈으로 땜방을 시켰다. 잘되는 군~ 아몰라 더 우수한 개발자 분들이 남아계시니 잘 가꿔 나가겠지. (xms/xmx는 기본..ㅎㅎ) https://github.com/monitorjbl/excel-streaming-reader GitHub - monitorjbl/excel-streaming-reader: An easy-to-use implementation of a streaming Excel reader using .. 더보기
Kotlin, Kotest 버전 올림. 흠.. 기존 Kotlin 기본 플젝에서 Kotlin 버전과 Kotest 버전을 올리고나니 갑자기 코루틴 관련으로 테스트가 깨진다. 알 수 없군.. 다른 무언가도 문제가 있어보이는데... 여튼 하나씩 남겨보자. https://github.com/kotest/kotest/issues/2782 더보기
Spring + Resilience4j + Redis Cache, LocalCache 사용 Docker 다중 Redis 적용도 해볼겸 redis1, redis2로 처리. version: '3.1' services: mysql: image: mysql:8.0.27 command: mysqld --character-set-server=utf8 --collation-server=utf8_unicode_ci container_name: kotlin-spring-boot-study_db0 ports: - "3306:3306" environment: MYSQL_ROOT_PASSWORD: root TZ: "Asia/Seoul" volumes: - mysql_data:/var/lib/mysql networks: - esnet mem_reservation: 1g redis1: container_name: ko.. 더보기
JPA - @ElementCollection의 'in' 조건 아래와 같은 Entity가 있다고 생각하자 @Entity @Table(name = "item") @..... class Item( id: Long? = null, attributes: Set ) : AuditingEntity() { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) val id: Long? = id @ElementCollection @Enumerated(EnumType.STRING) @CollectionTable(name = "attribute", joinColumns = [JoinColumn(name = "item_id")]) @Column(nullable = false, name = "attribute", columnDefinition.. 더보기