[cx-oracle-users] Why do Connection and SessionPool objects not share an Environment?
Brought to you by:
atuining
From: Alex T. <al...@fi...> - 2006-09-18 23:07:24
|
Hello, This is a question about the C implementation of cx_Oracle. I've been reading the source code and trying to understand how you are using OCI. When a Connection is acquired from a SessionPool, it creates a brand new environment for itself, rather than using the environment that the SessionPool already has. That seems odd to me. (See Connection_Acquire() and Connection_Init() in Connection.c.) Can you explain why you create a new environment? Are you following the OCI documentation (if so where - I can't find anything that suggests this) or have you established the method's reliability by experience? (Sorry in advance if this is a stupid question.) -Alex -- :: Let me solve your problems: http://www.firetree.net/consulting/ :: alex.tingle AT firetree.net +44-7901-552763 |