μ‚½μ§ˆ Log
Apache mod_proxy 문제
· β˜• 1 min read
문제 μ•„νŒŒμΉ˜ ν”„λ‘μ‹œλ₯Ό μ„€μ •ν•  일이 μƒκ²¨μ„œ conf νŒŒμΌμ— μ•„λž˜μ™€ 같이 location 섀정을 μΆ”κ°€ ν•΄μ€¬μœΌλ‚˜ 1 2 3 4 5 6 7 8 9 <VirtualHost *:80> ServerName www.api.com //... <Location "/event/"> ProxyPass http://112.13.14.15/event/ ttl=30 ProxyPassReverse http://112.13.14.15/event/ ProxyPreserveHost On </Location> </VirtualHost> μ„œλ²„μ—μ„œ 500 μ—λŸ¬κ°€ 발

ν…ŒμŠ€νŠΈ ν™˜κ²½μ—μ„œ JPA update μ•ˆλ¨
· β˜• 2 min read
expect JPA λ₯Ό μ‚¬μš©ν•˜μ—¬ entity λ₯Ό λ³€κ²½ν–ˆμ„ μ‹œ update κ°€ λ˜μ•Όν•˜μ§€λ§Œ, ν…ŒμŠ€νŠΈ μ½”λ“œμ—μ„œ λ™μž‘ν•˜μ§€ μ•ŠμŒ. situation Repository λ₯Ό μƒμ†ν•œ κ³³μ—μ„œ flush λ©”μ†Œλ“œλ₯Ό λ§Œλ“  ν›„ 호좜 -> λ°˜μ‘ μ—†μŒ (sql log 에 update κ°€ 좜λ ₯ μ•ˆλ¨)