SQLSTATE
|
Native code
|
Message text and description
|
---|---|---|
HY000
|
25216
|
Connection switch, some session context may be lost.
Description: The driver has discovered the need of the connection switch. The client is expected to issue a transaction rollback call to finalize the connection switch. This error code and message will be received at each consecutive network request call until the rollback call is issued
|
SQLSTATE
|
Native code
|
Message text and description
|
---|---|---|
08S01
|
14503
|
Communication link failure
Description: The driver has failed to establish a new active connection. The TF connection is lost and the Client has to reconnect (using a Data Source Info) in order to continue.
|
TF_LEVEL
|
Preserved state
|
---|---|
CONNECTION
|
No session state is preserved.
|
SESSION
|
Prepared statements
▪The prepared states are preserved.
The effects of the following statements are preserved:
▪SET CATALOG
▪SET SQL INFO
▪SET SQL SORTARRAYSIZE
▪SET SQL CONVERTORSTOUNIONS
▪SET SQL JOINPATHSPAN
▪SET LOCK TIMEOUT <seconds>
▪SET IDLE TIMEOUT
▪SET OPTIMISTIC LOCK TIMEOUT
▪SET STATEMENT MAXTIME
▪SET ISOLATION LEVEL
▪SET DURABILITY
▪SET SAFENESS
▪SET SCHEMA
▪SET SYNC USER
▪SET SYNC MODE
The following standard ODBC attributes are preserved
▪SQL_ATTR_ACCESS_MODE
(SET READ ONLY, SET READ WRITE)
▪SQL_ATTR_CURRENT_CATALOG
(duplicates SET CATALOG above)
▪SQL_ATTR_AUTOCOMMIT
|