Re: [cx-oracle-users] Supporting multiple versions and multiple bits
Brought to you by:
atuining
From: Anthony T. <ant...@gm...> - 2013-03-01 20:51:53
|
Hi, I have done something similar in the past. I grabbed multiple copies of cx_Oracle and renamed them to cx_Oracle_11g, cx_Oracle_10g, etc. and then used the imp module to load the right one. Once the module is loaded it behaves just like normal. If you want some sample code you can look at the cx_OracleDBATools package. Anthony On Fri, Mar 1, 2013 at 12:57 PM, Joel Slowik <js...@cp...> wrote: > Hello list, > > > > I am building a package that is expected will be used on multiple > environments. One environment might have 11g 64-bit, another might be 9i > 32-bit, and everything in between. > > > > From what I can tell, cx_oracle is dependent on the version and bit. > > > > Could someone provide some tips and best-practices to handle all of these > environments in my code? Rather than supporting multiple versions of my > code, I would rather have one version that can dynamically determine which > version of cx_oracle to use. > > > > Thanks, > > -joel > ------------------------------ > Confidentiality Note: This electronic message transmission is intended > only for the person or entity to which it is addressed and may contain > information that is privileged, confidential or otherwise protected from > disclosure. If you have received this transmission, but are not the > intended recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this information is strictly > prohibited. If you have received this e-mail in error, please contact > Continuum Performance Systems at {203.245.5000} and delete and destroy > the original message and all copies. > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > > |