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

이슬나라 [isulnara.com]
프로그램 관련 문의...
전체 (208)
자작 프로그램 (24)
EzIP (3)
IEPageSetup (3)
iSysInfoX (2)
메신저 알림이 (1)
ezSVC (1)
WebFTP (2)
iDebugX (1)
기타 (10)
버그 신고 (1)
이것저것.. (55)
WebFTP 게시판 (0)
팁 모음 (77)
linux (21)
프로그래밍 (36)
윈도우 (5)
네크워크 (7)
기타 (7)
윈도우 숨은.. (4)
터미널 서비스.. (1)
공개 웹하드 (1)
관리자 (0)
PC 원격제어.. (1)
NAS (43)
«   2012/05   »
일 월 화 수 목 금 토
    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 31    
tomcat php 배치파일 DDNS 공유기 zbs-200 arm rsync FileStation awk SQL Server 알콘 cue ezSVC Subversion open_basedir 파일스테이션 태터툴즈 Spin The Bottle ZONE FILE plug-in android xbmc 웹디스크 openSUSE11.3 CRC 부팅 이미지 JDBC dsm 3.0 nas
[ezLink] 동시 접속수...
ezLink 1.2.1.2 정식... (5)
MD5 CRC 체크섬.
Apache, Subversion...
CentOS에 MongoDB 설치.
안녕하세요.. 알려주신...
isul / 05/15
너무 좋은 프로그램 잘...
김진수 / 05/12
직접 해결하셨네요.. 다...
isul / 05/01
var winOpen = window.op...
Mulgom / 04/30
이슬님 덕에 무난하게 출...
Mulgom / 04/30
black hat software.
black hat software / 04/25
일반 어플리케이션을 서...
ㅇㅇ/ / 2009
사이코웨어 : nProtect,...
√ MIRiyA's AstraLog / 2008
웹페이지에서 인쇄시 머...
醉生夢死™ / 2006
웹페이지에서 MAC Addres...
날자~!! 날어~!! / 2005
 최근글 목록
 2011/11 [2]
 2011/10 [3]
 2011/09 [1]
 2011/07 [3]
 2011/06 [1]
넷하드 - NAS 카페
무료 원격제어 프로그램
블로그가 뭥미?
솔라리스 테크넷
스티브 맥코넬
시놀로지 NAS 카페
하얀나무 - 캠핑 전문 쇼핑몰
하얀나무's Story
Total of
482288 visitors
Today 3
Yesterday 119
 
글검색결과[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