ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
<Connection variable>.TransactionIsolation (Function)
In french: <Variable Connexion>.TransactionIsolation
HFSQL Client/ServerAvailable only with this kind of connection
Configures the isolation mode of transactions for a connection to an HFSQL server.
Depending on the mode selected, an application that performs reading operations will have access or not to the data being modified in a transaction by another application, or another instance of the same application.
Example
MyConnection is Connection
 
MyConnection.TransactionIsolation(hReadCommitted)
MyCustomerFile.ReadFirst(MyKey)
Syntax
<Result> = <Connection>.TransactionIsolation(<Isolation mode>)
<Result>: Boolean
  • True if the isolation level was implemented,
  • False if an error occurred. HErrorInfo is used to identify the error.
<Connection>: Connection variable
Name of the Connection variable that describes the connection to an HFSQL server.
<Isolation mode>: Integer constant
Selected isolation mode:
hReadCommittedOther users can only view completed transactions.
hReadUncommittedOther users can view incomplete transactions.
hRepeatableReadThe application in transaction sees a snapshot of the database when the transaction starts.
Component: wd290hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help