public virtual OciGlue CreateConnection (OracleConnectionInfo info) 
		{
			OciGlue oci;
			oci = new OciGlue ();
			oci.CreateConnection (info);
			return oci;
		}
Exemple #2
0
        public virtual OciGlue CreateConnection(OracleConnectionInfo info)
        {
            OciGlue oci;

            oci = new OciGlue();
            oci.CreateConnection(info);
            return(oci);
        }
Exemple #3
0
 public OracleConnectionPool(OracleConnectionPoolManager manager, OracleConnectionInfo info, int minPoolSize, int maxPoolSize)
 {
     this.info    = info;
     this.manager = manager;
     initialized  = false;
     PoolMinSize  = minPoolSize;
     PoolMaxSize  = maxPoolSize;
 }
		public OracleConnectionPool (OracleConnectionPoolManager manager, OracleConnectionInfo info, int minPoolSize, int maxPoolSize) 
		{
			this.info = info;
			this.manager = manager;
			initialized = false;
			PoolMinSize = minPoolSize;
			PoolMaxSize = maxPoolSize;
		}
Exemple #5
0
 public OracleConnectionPool GetConnectionPool(OracleConnectionInfo info, int minPoolSize, int maxPoolSize)
 {
     lock (pools) {
         OracleConnectionPool pool = (OracleConnectionPool)pools [info.ConnectionString];
         if (pool == null)
         {
             pool = new OracleConnectionPool(this, info, minPoolSize, maxPoolSize);
             pools [info.ConnectionString] = pool;
         }
         return(pool);
     }
 }
		public OracleConnectionPool GetConnectionPool (OracleConnectionInfo info, int minPoolSize, int maxPoolSize) 
		{
			lock (pools) {
				
				OracleConnectionPool pool = (OracleConnectionPool) pools [info.ConnectionString];
				if (pool == null) {
					pool = new OracleConnectionPool (this, info, minPoolSize, maxPoolSize);
					pools [info.ConnectionString] = pool;
				}
				return pool;
			}
		}