Sorry, forget about the last sentence (Oracle Objects have nothing to do with this issue).
My problem is this:
user "scott" has the following profile
Code: Select all
CREATE PROFILE MY_USER_PROFILE LIMIT
SESSIONS_PER_USER DEFAULT
CPU_PER_SESSION DEFAULT
CPU_PER_CALL DEFAULT
CONNECT_TIME DEFAULT
IDLE_TIME 10
LOGICAL_READS_PER_SESSION DEFAULT
LOGICAL_READS_PER_CALL DEFAULT
COMPOSITE_LIMIT DEFAULT
PRIVATE_SGA DEFAULT
FAILED_LOGIN_ATTEMPTS 10
PASSWORD_LIFE_TIME 90
PASSWORD_REUSE_TIME DEFAULT
PASSWORD_REUSE_MAX DEFAULT
PASSWORD_LOCK_TIME DEFAULT
PASSWORD_GRACE_TIME 90
PASSWORD_VERIFY_FUNCTION DEFAULT;
IDLE_TIME is 10, so if the user is idle for 10 minutes the db session expires.
0) create a TOraSession
1) MySession->Connect(), and then idle (does nothing)
2) After 10 minutes the session exceeds the idle time.....
3) delete MySession>> OraError!
I need a way to destroy an expired session without raising exceptions, because that causes too much problems.