GAB STORY ์ผ์ ์ ์์ํ ์๊ฐ๋ค๊ณผ ๊ฐ๋ฐ ๊ณต๋ถ ๊ณผ์ ์์์ ๋ค์ํ ๊ฒฝํ๋ค์ ๋ด์๋ธ ๊ณต๊ฐ์ ๋๋ค. ๋ถ๋ฅ ์ ์ฒด๋ณด๊ธฐ DEVELOPE DevOps Kotlin & Spring Kafka AI Etc LIFE Hobby Etc BOOK IT SELF-IMPROVEMENT ROUTINE Interface-based Projection์์ ZonedDateTime Converter ์ฌ์ฉ Interface-based์์ Timestamp๋ก ์ ์ธ๋ ์ปฌ๋ผ์ ZonedDateTime์ผ๋ก ๋ณํํ์ฌ ์ฌ์ฉํ๋ ๋ฐฉ๋ฒ. ์๋ฌ Cannot project java.sql.Timestamp to java.time.ZonedDateTime. Target type is not an interface and no matching Converter found! java.lang.UnsupportedOperationException: Cannot project java.sql.Timestamp to java.time.ZonedDateTime. Target type is not an interface and no matching Converter found! CREATE TABLE `table` ( `id` bigin.. 2023-02-08 JDBC Flow (HikariCP, hibernate, JPA, DataSource) JDBC Flow JDBC๋ ๋ฐ์ดํฐ ์ ๊ทผ์ ํธ์์ฑ๊ณผ ์ผ๊ด์ฑ ์ ๊ณต์ ์ํ DataAccess์ DB ์ฐ๊ฒฐ๊ณผ ์ํธ ์์ฉ์ ์ํ JDBC API๋ก ๊ตฌ์ฑ์ด ๋์ด์์ต๋๋ค. DataAccess DataAccess ๊ณ์ธต์ Repository ๋๋ DAO ํจํด์ ๊ตฌํ์ฒด๋ฅผ ์๋ฏธํ๋ฉฐ, Persistence Framework ๋๋ Query Object ๋ฑ์ ๊ตฌ์ฑ ์์๋ฅผ ํตํด์ JDBC ๊ตฌํ ๊ณ์ธต์ธ dataSource์ ์ํธ ์์ฉํฉ๋๋ค. CRUD๋ Application์ด DB ๋ฐ์ดํฐ๋ฅผ ์ง์ ๋ค๋ฃจ๋ ๋ฐฉ์์ ๋งํ๋ฉฐ Persistence Framework๋ Framework๋ฅผ ์ด์ฉํ์ฌ ์ง๊ฐ์ ์ ์ผ๋ก DB ๋ฐ์ดํฐ๋ฅผ ๋ค๋ฃจ๋ ๋ฐฉ์์ ์๋ฏธํฉ๋๋ค. Persistence Framework Persistence Framework๋ SQL๋ฌธ์ผ๋ก.. 2023-01-30 ์ด์ 1 ๋ค์