Background Image

FORUM

조회 수 10828 추천 수 0 댓글 2
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

[java] 두개의 PreparedStatement 할당후 close 시 문제

 

Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
PreparedStatement pstmt2 = null;
ResultSet rs2 = null;

.

.

.

try{

pstmt2.close();

pstmt2 = null;

rs2.close();

rs2 = null;

}catch(SQLException e){

   System.out.println(e.getMessage();

}

 

System.out.println(rs.getString(1));

 

 pstm2.close(); 후 pstmt 마져 close() 되버리는 현상이 발생하고 있습니다.

혹시 큐브리드쪽 설정부분을 변경해야 하는 부분이 있으면 알려 주세요.

 

 

 


  1. CUBRID 사용자를 위한 DBeaver 도구 출시 안내

    Date2024.04.23 Byadmin Views53
    read more
  2. SQLGate for CUBRID 영구 무료 라이선스 제공

    Date2020.04.09 Byadmin Views4458
    read more
  3. [답변에 대한 답글입니다.] Trigger 이벤트 시점에 대해 질문드립니다.

    Date2019.10.31 Bycubridtest Views568
    Read More
  4. [깜짝이벤트] CUBRID 열심 사용자들께 2013년 메모지 셋트를 드립니다

    Date2013.02.05 ByCUBRID_DEV Views15063
    Read More
  5. [긴급요청] .net 에서 데이터 insert 시 cubrid manager에서 한글 깨짐 현상 문의

    Date2016.01.28 Byminimin0516 Views6865
    Read More
  6. [긴급]서비스 시작이 안되는데 확인 부탁드립니다.

    Date2018.06.29 By머천다이 Views825
    Read More
  7. [긴급] 캐릭터셋 관련 문의드립니다.. (답글 확인요망)

    Date2014.11.08 By드팬디 Views6416
    Read More
  8. [긴급] 성능 문의 드립니다....

    Date2011.01.05 By스마트 Views31
    Read More
  9. [긴급] 삭제되지 않는 테이블은 어떻게 처리해야하나요..

    Date2010.09.25 By스마트 Views12057
    Read More
  10. [긴급] odbc utf8 입력이 안됩니다..

    Date2010.12.23 By스마트 Views12411
    Read More
  11. [긴급] Java VM can not be started 메세지 원인??

    Date2009.07.07 By이석희 Views19551
    Read More
  12. [긴급] CMT 오류 문의 드립니다.

    Date2010.12.29 By스마트 Views6490
    Read More
  13. [긴급] CLOB 인서트 에러 입니다.

    Date2015.11.20 By사이어스 Views15
    Read More
  14. [긴급] .net c#에서 utf8 연결 어떻게 해야하는지요...

    Date2010.09.26 By스마트 Views14368
    Read More
  15. [급]Cubrid메니저에서 Unlod 후 load시 오류

    Date2011.07.15 By별솔아범 Views23907
    Read More
  16. [개선요청] 데이터베이스 복구 문제 개선이 필요할 것 같습니다..

    Date2011.01.04 By스마트 Views49
    Read More
  17. [replication] 성능에 대한 질문입니다.

    Date2009.02.10 Bykkckc Views16669
    Read More
  18. [mac os] cubrid manager 오류 문의

    Date2022.08.01 By망고라떼 Views215
    Read More
  19. [java]supportsGetGeneratedKeys 함수 이상 동작 문의

    Date2013.07.19 By큐브리드하자 Views7879
    Read More
  20. [java] 두개의 PreparedStatement 할당후 close 시 문제

    Date2011.07.27 Bycuins Views10828
    Read More
  21. [emerg] 629#0 큐브리드 서비스 시작안됨

    Date2014.10.13 Bychocob Views7
    Read More
  22. [cubrid backup or restore] 질문 사항

    Date2013.06.14 By완이예염 Views10842
    Read More
Board Pagination Prev 1 ... 139 140 141 142 143 144 145 146 147 148 ... 200 Next
/ 200

Contact Cubrid

대표전화 070-4077-2110 / 기술문의 070-4077-2113 / 영업문의 070-4077-2112 / Email. contact_at_cubrid.com
Contact Sales