org.springframework.dao.DataAccessResourceFailureException: ### Error querying database. Cause: java.sql.SQLRecoverableException: IO 오류: Connection reset ### The error may exist in com/yesjnet/mapper/sitedb/bbs/BbsPostMapper.xml ### The error may involve com.yesjnet.mapper.sitedb.bbs.BbsPostMapper.selectBbsPostPrevNext-Inline ### The error occurred while setting parameters ### SQL: SELECT * FROM ( SELECT post_idx , LAG(a.post_idx) OVER (ORDER BY a.notice_yn DESC, a.post_idx DESC) AS prev_post_idx , LAG(a.reg_nm) OVER (ORDER BY a.notice_yn DESC, a.post_idx DESC) AS prev_reg_nm , LAG(a.title) OVER (ORDER BY a.notice_yn DESC, a.post_idx DESC) AS prev_title , LAG(a.reg_dt) OVER (ORDER BY a.notice_yn DESC, a.post_idx DESC) AS prev_reg_dt , LEAD(a.post_idx) OVER (ORDER BY a.notice_yn DESC, a.post_idx DESC) AS next_post_idx , LEAD(a.reg_nm) OVER (ORDER BY a.notice_yn DESC, a.post_idx DESC) AS next_reg_nm , LEAD(a.title) OVER (ORDER BY a.notice_yn DESC, a.post_idx DESC) AS next_title , LEAD(a.reg_dt) OVER (ORDER BY a.notice_yn DESC, a.post_idx DESC) AS next_reg_dt FROM jn_bbs_post a INNER JOIN jn_bbs_master mst ON mst.bbs_idx = a.bbs_idx WHERE a.del_yn = 'N' AND ( a.bbs_idx = ? OR (mst.bbs_nm = ? AND all_lib_yn = 'Y') ) ) t WHERE post_idx = ? ### Cause: java.sql.SQLRecoverableException: IO 오류: Connection reset ; SQL []; IO 오류: Connection reset; nested exception is java.sql.SQLRecoverableException: IO 오류: Connection reset