close
  • 홈
  • :
  • 위치로그
  • :
  • 태그
  • :
  • 방명록
  • :
  • 관리자
  • :
  • 새글쓰기
블로그 이미지

이슬나라 [isulnara.com]
프로그램 관련 문의...
전체 (184)
자작 프로그램 (23)
EzIP (3)
IEPageSetup (3)
iSysInfoX (2)
메신저 알림이 (1)
ezSVC (1)
WebFTP (2)
iDebugX (1)
기타 (9)
버그 신고 (1)
이것저것.. (55)
WebFTP 게시판 (0)
팁 모음 (72)
linux (17)
프로그래밍 (35)
윈도우 (5)
네크워크 (7)
기타 (7)
윈도우 숨은.. (4)
터미널 서비스.. (1)
공개 웹하드 (1)
관리자 (0)
PC 원격제어.. (1)
NAS (25)
«   2010/09   »
일 월 화 수 목 금 토
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
나스 rsync android 류종택 PageSetup CPUID 맥어드레스 AjaXplorer scp pid ds101g+ xbmc htpc 시놀로지 네임서버 ShrinkToFit 한글 지그비 유니콘 알콘 open_basedir sed 알림이 메신저 아이피설정 블록 WebFTP bluetooth nateon utf-8
[NAS] Synology DS101...
[안드로이드] 스플래...
[android] android_wi...
이전 달의 파일을 특...
Synology FileStation...
저도 지금 테스트해보니...
isul / 09/08
IE8에 플래시 사용한 웹...
isul / 09/08
안녕하세요.. zbs-100은...
isul / 09/08
안드로이드에서도 시리얼...
isul / 09/08
안드로이드 기반에서 시...
소바 / 09/08
일반 어플리케이션을 서...
ㅇㅇ/ / 2009
사이코웨어 : nProtect,...
√ MIRiyA's AstraLog / 2008
웹페이지에서 인쇄시 머...
醉生夢死™ / 2006
웹페이지에서 MAC Addres...
날자~!! 날어~!! / 2005
 최근글 목록
 2010/09 [1]
 2010/08 [4]
 2010/07 [1]
 2010/06 [2]
 2010/05 [1]
넷하드
무료 원격제어 프로그램
바이러스제로
솔라리스 테크넷
스티브 맥코넬
파워해커
하얀나무's Story
Total of
331576 visitors
Today 188
Yesterday 270
 
글검색결과[JDBC] : 2
2009/03/19  각종 데이터베이스의 JDBC 다운로드 링크 (2)
2008/02/14  [JDBC for SQLSERVER] Cannot Start a Cloned Connection While in Manual Transaction Mode
     
 팁 모음/프로그래밍 
각종 데이터베이스의 JDBC 다운로드 링크
Posted on 2009/03/19 22:34
 
 
 
 
DB2 UDB
MySQL
Oracle
PostgreSQL
SQL Server
SQL Server (open source driver)
SQLite
Sybase

출처: http://www.smithproject.org/smith_download.cfm
Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
이올린에 북마크하기(0) 이올린에 추천하기(0)
JDBC
Trackback [0] : Comment [2]
TrackbackAddress
http://isulnara.com/tt/trackback/193
수정/삭제 답변하기
2009/04/14 17:54
관리자만 볼 수 있는 댓글입니다.
BlogIcon isul 수정/삭제
2009/04/15 08:42
아래에 URL에 보시면 그 값들을 구하는 ActiveX 컴포넌트가 있습니다.
그것을 잘 활용하시면 됩니다.
http://isulnara.com/tt/146
SecretComment
     
 팁 모음/프로그래밍 
[JDBC for SQLSERVER] Cannot Start a Cloned Connection While in Manual Transaction Mode
Posted on 2008/02/14 12:37
SYMPTOMS
While using the Microsoft SQL Server 2000 Driver for JDBC, you may experience the following exception:
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode.

CAUSE
This error occurs when you try to execute multiple statements against a SQL Server database with the JDBC driver while in manual transaction mode (AutoCommit=false) and while using the direct (SelectMethod=direct) mode. Direct mode is the default mode for the driver.

RESOLUTION
When you use manual transaction mode, you must set the SelectMethod property of the driver to Cursor, or make sure that you use only one active statement on each connection as specified in the "More Information" section of this article.

STATUS
This behavior is by design.

MORE INFORMATION
Steps to Reproduce the Behavior
Use the following code to reproduce the error:

NOTE: See the comments in the code for information on the code changes that are required to resolve the problem.

import java.sql.*;
import java.io.*;


public class Repro{

    public static void main(String args[])
    {
        try {
            Connection con;
            Statement s1 = null;
            ResultSet r1 = null;
            Statement s2 = null;
            ResultSet r2 = null;
            Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
            con = DriverManager.getConnection(
                "jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=pubs;SelectMethod=Direct;User=User;Password=Password");
            //fix 1
                //"jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=pubs;SelectMethod=Cursor;User=User;Password=Password");
            con.setAutoCommit(false);
            
            try {
                s1 = con.createStatement();
                r1 = s1.executeQuery("SELECT * FROM authors");
                
                //fix 2
                //r1.close();
                //s1.close();

                s2 = con.createStatement();
                r2 = s2.executeQuery("SELECT * FROM publishers");
            }
            catch (SQLException ex)
            {
                System.out.println(ex);                
            }
        
        }
        catch (Exception e)
        {
            e.printStackTrace();
        }
    }
}


출처: http://support.microsoft.com/kb/313181
Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
이올린에 북마크하기(0) 이올린에 추천하기(0)
JDBC, SQLSERVER
Trackback [0] : Comment [0]
TrackbackAddress
http://isulnara.com/tt/trackback/154
SecretComment
  1