Open Source RDBMS - Seamless, Scalable, Stable and Free

English | Login |Register

Connection Options


When connecting to a CUBRID database, you can setup options to be used for the connection lifecycle (unless explicitly changed later):

  • The Auto-Commit state
  • The IsolationLevel
  • The Connection timeout
  • The Lock timeout

For example, by default, the auto-commit is set to ON. See SELECT_AUTO_COMMIT for more information. If you want to set it to OFF, you should use the following code:

conn.Open();
conn.SetAutoCommit(false);

Note: The connection parameters are also accessible from the Visual Studio Properties window:

Connection_Options.png
comments powered by Disqus
문서 정보
viewed 1517 times
번역 en
작성자
posted 2년 전
CUBRID
공헌자
마지막 수정시간 2년 전
변경 내역 보기
Share this article