본문 바로가기

전체 글

Spring Boot 3.2 RestClient https://spring.io/blog/2023/07/13/new-in-spring-6-1-restclient New in Spring 6.1: RestClient Spring Framework 6.1 M2 introduces the RestClient, a new synchronous HTTP client. As the name suggests, RestClient offers the fluent API of WebClient with the infrastructure of RestTemplate. Fourteen years ago, when RestTemplate was introduced in Spring Fr spring.io 1. 일반적인 구현 Bean 등록 ... @Bean fun fakeC.. 더보기
Spring Boot / Cloud Vision API / IMEI IMEI / EDI 이미지에서 읽어오기 테스트용. Spring Boot 3.2, Kotlin 1.9 https://github.com/KimHyeongi/spring-boot-edu 더보기
Spring Security 예제 추가 음.. 아직 Spring Boot 3.1에 맞추기는 좀 그렇네.ㅎㅎ 아래 참고 코드 Kotlin 으로 변경. https://github.com/KimHyeongi/spring-boot3-kotlin-security GitHub - KimHyeongi/spring-boot3-kotlin-security Contribute to KimHyeongi/spring-boot3-kotlin-security development by creating an account on GitHub. github.com 100% 참고. https://www.youtube.com/watch?v=BVdQ3iuovg0 https://github.com/ali-bouali/spring-boot-3-jwt-security GitHub -.. 더보기
JPA ElementCollection CollectionTable - Table 명 지정. - Collection Table의 주테이블 컬럼 명 지정. ( FK가 될 컬럼 ) - FK 제약은 제거 - 이경우 fk가 없으니 index 필요. - 인덱스 생성 - order by 컬럼 지정 - CollectionTable의 경우 Audit 불필요(주관적), Delete, Insert로 진행 @ElementCollection(fetch = FetchType.LAZY) @CollectionTable(name = "memo_tag", joinColumns = [ JoinColumn(name = "memo_id") ], foreignKey = ForeignKey(ConstraintMode.NO_CONSTRAINT), indexes = [ Index( c.. 더보기
build OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended 로그 테스트 처리 build.gradle.kts tasks.withType().configureEach { useJUnitPlatform() jvmArgs( "-Xshare:off", ) maxParallelForks = 1 } 참고 https://stackoverflow.com/questions/54205486/how-to-avoid-sharing-is-only-supported-for-boot-loader-classes-because-bootstra 더보기