davidchoi
@davidchoi
Reviews Written
4
Average Rating
5.0
Posts
Q&A
OrderDBHandler ์์ ๋ฐ์ดํฐ๊ฐ ๋ค ์๋ค์ด๊ฐ๊ณ ๋๋ฝ์ด ๋ฉ๋๋ค.
์ ๋ ๋๋ฝ์ด ์๊ฒจ์ ํ์ธํด๋ณด๋ excuteUpdate๊ฐ ๋ฌธ์ ์์ต๋๋ค.postgresql ๋์ mariaDB๋ฅผ ์ฌ์ฉํด์ ๊ทธ๋ฐ๊ฑด์ง๋ ๋ชจ๋ฅด๊ฒ ์ง๋ง.executeBatch๋ฅผ ์ฌ์ฉํ๋ ์ ๋ค์ด๊ฐ์ง๋ค์.https://mkyong.com/jdbc/jdbc-preparedstatement-example-batch-update/
- 2
- 4
- 343
Q&A
build & production stage ๊ตฌ๋ถํด์ ๋์ปค ์ด๋ฏธ์ง ํฌ๊ธฐ ์ค์ด๊ธฐ ์คํจ
์์ฑํ DockerFile์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค. #Build stage FROM node:18 as build COPY package*.json . RUN npm install COPY . . RUN npm run build #Production stage FROM node:18 as production COPY --from=build ./build ./build COPY --from=build ./package.json .package.json COPY --from=build ./package-lock.json .package-lock.json RUN npm install --only=production CMD [ "npm", "start" ]
- 0
- 2
- 786




