Settings and activity
2 results found
-
Create a property in the session objects that shows that a statement is current running in a thread!
23 votesAn error occurred while saving the comment -
1 vote
An error occurred while saving the comment Alexander Somov commentedIt's not necessary because it's already available. You can check the class of the retrieved exception object. The general exception class, EUniError, has fields ErrorCode and InnerError. If InnerError class is EPgError, then you can retrieve the DetailMsg property.
Just use Lock's. Session objects are not thread-safe; you should use external code to control access to them.