Bugfix for MSSQL compatibility.
Replaced ClaApplication::Enter() calls with redefined constants.