FireBird Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
파이어버드 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
IBPhoenix
FireBird Main site
볼랜드포럼 광고 모집

FireBird Q&A
[4563] Re:Java 1.6 + FireBird 2.5.1 + JayBird 2.2.1 질문 드립니다.
정영훈 [allinux] 2014 읽음    2013-02-14 11:39
jdbc 드라이버는 4가지 타입이 있는데 그중 type 4 가 pure java로 구현한 드라이버 타입입니다.
현재 에러메세지를 보니 타입2인 native client 라이브러리을 wrapping 한 드라이버를 사용한 듯 싶습니다.
이 경우 클라이언트 라이브러리를 요구하게 됩니다.

드라이버 타입을 확인해보시기 바랍니다.

김상윤 님이 쓰신 글 :
: 자바에서 FireBird 연결하려고 아래와 같이 코딩했습니다.
:
: 1. 코딩
:     public Connection getCon(){
:         Connection con = null;
:         String driver = "org.firebirdsql.jdbc.FBDriver";
:         String url = "jdbc:firebirdsql:local:e:/Bin/SYSTEMDZ.GDB";
:         String user = "ID";
:         String pwd = "Pass";
:                       
:         try{
:             Class.forName(driver);
:             con = java.sql.DriverManager.getConnection(url, user, pwd);
:             System.out.println("DB 연결완료");
:         } catch (Exception e) {
:             e.printStackTrace();           
:         }
:         return con;
:
: 2. 문제점
: org.firebirdsql.gds.impl.jni.InternalError: FirebirdApiBinding::Initialize - Could not find or load the client library / embeded server. Error [126].
:     at org.firebirdsql.gds.impl.jni.JniGDSImpl.nativeInitilize(Native Method)
:     at org.firebirdsql.gds.impl.jni.JniGDSImpl.attemptToLoadAClientLibraryFromList(JniGDSImpl.java:92)
:     at org.firebirdsql.gds.impl.jni.LocalGDSImpl.<init>(LocalGDSImpl.java:29)
: ... 이하 생략
:
: 3. 시도
:   3.1. url 변수의 local 부분을 embedded 변경해도 안됨
:   3.2. JayBird FireBird 2.5를 지원하는 다른 버전으로 모두 변경해도 안됨
:
: 저의 검색실력이 미천한지 아무리 구글링해도 안나오네요.
: 해결방법에 대한 조언 좀 부탁드립니다.
: 감사합니다.

+ -

관련 글 리스트
4562 Java 1.6 + FireBird 2.5.1 + JayBird 2.2.1 질문 드립니다. 김상윤 2267 2013/02/13
4563     Re:Java 1.6 + FireBird 2.5.1 + JayBird 2.2.1 질문 드립니다. 정영훈 2014 2013/02/14
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.