What does OraSession->AssignConnect() exactly do?
Posted: Mon 15 Nov 2004 15:13
Hi,
I use OraSession->AssignConnect() often, because I have a central db-connection bpl and many other bpls with OraSession-objects in it. On startup of the program, I connect the session in the connection bpl to the db and use AssignConnect() to assign the connection to the sessions in the other bpls.
When looking on the database, I see only one session. Does that mean, that my OraSession-objects are not independend from each other? Does the session with AutoCommit=true affect the other sessions with AutoCommit=false?
Thanks,
Thomas
I use OraSession->AssignConnect() often, because I have a central db-connection bpl and many other bpls with OraSession-objects in it. On startup of the program, I connect the session in the connection bpl to the db and use AssignConnect() to assign the connection to the sessions in the other bpls.
When looking on the database, I see only one session. Does that mean, that my OraSession-objects are not independend from each other? Does the session with AutoCommit=true affect the other sessions with AutoCommit=false?
Thanks,
Thomas