Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | 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
Page info
viewed 1805 times
translations en
Author
posted 2 years ago by
CUBRID
Contributors
updated 2 years ago by
View revisions
Share this article