Package com.altibase.document.installer
Class DatabaseConnection
java.lang.Object
com.altibase.document.installer.DatabaseConnection
- All Implemented Interfaces:
AutoCloseable
데이터베이스 연결을 관리하는 클래스
JDBC 기반 연결 생성 및 정리
-
Constructor Summary
ConstructorsConstructorDescriptionDatabaseConnection(String aJdbcUrl, String aUsername, String aPassword) JDBC URL과 사용자 정보로 연결 생성 -
Method Summary
-
Constructor Details
-
DatabaseConnection
JDBC URL과 사용자 정보로 연결 생성- Throws:
SQLException
-
-
Method Details
-
getConnection
연결 객체 반환 -
close
연결 종료- Specified by:
closein interfaceAutoCloseable- Throws:
SQLException
-