These events are logged when ObjectScope are obtained and released.
OS Events
Event |
Description |
Logged for level |
os.alloc |
objectscope allocated from pool |
normal |
os.release |
objectscope released back to pool (os.close called) |
normal |
os.created |
New objectscope created |
normal |
os.closed |
objectscope closed |
normal |
os.closed.auto |
objectscope closed automatically by OpenAccess ORM |
normal |
os.closed.auto.tx |
objectscope closed automatically with open datastore transaction (BAD). |
errors |
It is important to close all ObjectScopes. OpenAccess ORM will close OSs automatically when they are garbage collected but these OSs will not be put back in the OS pool. OSs left open with an active datastore transaction (os.closed.auto.tx) will hold database locks.
See Also