Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CUBRIDMAN-183] Add a note that getDefaultConnection() is now obsolete #427

Merged
merged 1 commit into from
Jul 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions en/sql/jsp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,12 @@ To acquire a connection to the database using the server-side JDBC driver, you c

Connection conn = DriverManager.getConnection("jdbc:default:connection:");

.. note::

From the CUBRID 11.2, Acquiring a connection in the following way is no longer supported:

Connection conn = cubrid.jdbc.driver.CUBRIDDriver.getDefaultConnection();

.. note::

The server-side JDBC is already registered, and you do not need to call "Class.forName("cubrid.jdbc.driver.CUBRIDDriver")"
Expand Down
6 changes: 6 additions & 0 deletions ko/sql/jsp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,12 @@ JDBC 연결 URL로 "**jdbc:default:connection:**" 을 사용한다.

Connection conn = DriverManager.getConnection("jdbc:default:connection:");

.. note::

CUBRID 11.2 버전부터 다음과 같은 방법으로 Connection을 얻는 방법은 더이상 지원하지 않는다.

Connection conn = cubrid.jdbc.driver.CUBRIDDriver.getDefaultConnection();

.. note::

서버 측 JDBC 드라이버는 이미 등록되어 있기 때문에 Class.forName("cubrid.jdbc.driver.CUBRIDDriver")\를 호출하지 않아도 된다
Expand Down
Loading