BUG 14056 "Oracle Connection Parameters with TNS" SOLVED
- Oracle Connection Parameters with TNS. - Problema resuelto, en DATABASE CONNECTIONS al hacer click en New, en el dynaform "Add new Database Source" se agrega dos campos un dropdown "Select type connection" con dos opciones "NORMAL y TNS" y el campo de tipo "TNS", estos nuevos campos se muestran cuando se selecciona la opcion en engine "oracle" si es en otro caso se ocultaran. Tambien se adiciona dos nuevos campos en la tabla "DB_SOURCE" que son: "DBS_CONNECTION_TYPE" y "DBS_TNS". Cuando se selecciona "oracle" y tipo de conexion "TNS", al llenar los datos al dynaform y hacer click en el boton "test connection" realizara la prueba con exito o falla. Cuando se selecciona "oracle" y tipo de conexion "NORMAL", al llenar los datos al dynaform y hacer click en el boton "test connection" realizara la conexion tal como se hacia anteriomente.
This commit is contained in:
@@ -424,8 +424,14 @@ class dbConnections
|
||||
if ($aInfoCon['DBS_PASSWORD'] != '') {
|
||||
$aPassw = explode( '_', $aInfoCon['DBS_PASSWORD'] );
|
||||
$passw = $aPassw[0];
|
||||
if (sizeof( $aPassw ) > 1)
|
||||
$passw = ($passw == 'none') ? "" : G::decrypt( $passw, $aInfoCon['DBS_DATABASE_NAME'] );
|
||||
|
||||
$flagTns = ($aInfoCon["DBS_TYPE"] == "oracle" && $aInfoCon["DBS_CONNECTION_TYPE"] == "TNS")? 1 : 0;
|
||||
|
||||
if (sizeof($aPassw) > 1 && $flagTns == 0) {
|
||||
$passw = ($passw == "none")? "" : G::decrypt($passw, $aInfoCon["DBS_DATABASE_NAME"]);
|
||||
} else {
|
||||
$passw = ($passw == "none")? "" : G::decrypt($passw, $aInfoCon["DBS_TNS"]);
|
||||
}
|
||||
}
|
||||
return $passw;
|
||||
}
|
||||
|
||||
@@ -25,13 +25,34 @@ class NET
|
||||
public $errno;
|
||||
public $errstr;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$a = func_get_args();
|
||||
$f = "__construct" . func_num_args();
|
||||
|
||||
if (method_exists($this, $f)) {
|
||||
call_user_func_array(array($this, $f), $a);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This function is the constructor of the class net
|
||||
*
|
||||
* return void
|
||||
*/
|
||||
public function __construct0()
|
||||
{
|
||||
$this->errno = 0;
|
||||
$this->error = "";
|
||||
}
|
||||
|
||||
/**
|
||||
* This function is the constructor of the class net
|
||||
*
|
||||
* @param string $pHost
|
||||
* @return void
|
||||
*/
|
||||
public function __construct ($pHost)
|
||||
public function __construct1($pHost)
|
||||
{
|
||||
$this->errno = 0;
|
||||
$this->errstr = "";
|
||||
@@ -181,16 +202,20 @@ class NET
|
||||
* This function tries to connect to server
|
||||
*
|
||||
* @param string $pDbDriver
|
||||
* @param array $arrayServerData
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function tryConnectServer ($pDbDriver)
|
||||
public function tryConnectServer($pDbDriver, array $arrayServerData = array())
|
||||
{
|
||||
if ($this->errno != 0) {
|
||||
return 0;
|
||||
}
|
||||
$stat = new Stat();
|
||||
|
||||
if (isset( $this->db_user ) && (isset( $this->db_passwd ) || ('' == $this->db_passwd)) && isset( $this->db_sourcename )) {
|
||||
$flagTns = (isset($arrayServerData["connectionType"]) && $arrayServerData["connectionType"] == "TNS")? 1 : 0;
|
||||
|
||||
if (isset($this->db_user) && (isset($this->db_passwd) || $this->db_passwd == "") && (isset($this->db_sourcename) || $flagTns == 1)) {
|
||||
switch ($pDbDriver) {
|
||||
case 'mysql':
|
||||
if ($this->db_passwd == '') {
|
||||
@@ -247,11 +272,17 @@ class NET
|
||||
}
|
||||
break;
|
||||
case 'oracle':
|
||||
$this->db_port = (($this->db_port == "") || ($this->db_port == 0)) ? "1521" : $this->db_port;
|
||||
try {
|
||||
$link = $conn = @oci_connect( $this->db_user, $this->db_passwd, "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP) (HOST=$this->ip) (PORT=$this->db_port) )) (CONNECT_DATA=(SERVICE_NAME=$this->db_sourcename)))" );
|
||||
if ($link) {
|
||||
$stat->status = 'SUCCESS';
|
||||
if ($flagTns == 0) {
|
||||
$this->db_port = ($this->db_port == "" || $this->db_port == 0)? "1521" : $this->db_port;
|
||||
|
||||
$cnn = @oci_connect($this->db_user, $this->db_passwd, "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP) (HOST=$this->ip) (PORT=$this->db_port) )) (CONNECT_DATA=(SERVICE_NAME=$this->db_sourcename)))");
|
||||
} else {
|
||||
$cnn = @oci_connect($this->db_user, $this->db_passwd, $arrayServerData["tns"]);
|
||||
}
|
||||
|
||||
if ($cnn) {
|
||||
$stat->status = "SUCCESS";
|
||||
$this->errstr = "";
|
||||
$this->errno = 0;
|
||||
} else {
|
||||
@@ -279,9 +310,11 @@ class NET
|
||||
* This function tries to open to the DB
|
||||
*
|
||||
* @param string $pDbDriver
|
||||
* @param array $arrayServerData
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function tryOpenDataBase ($pDbDriver)
|
||||
public function tryOpenDataBase($pDbDriver, array $arrayServerData = array())
|
||||
{
|
||||
if ($this->errno != 0) {
|
||||
return 0;
|
||||
@@ -290,7 +323,9 @@ class NET
|
||||
set_time_limit( 0 );
|
||||
$stat = new Stat();
|
||||
|
||||
if (isset( $this->db_user ) && (isset( $this->db_passwd ) || ('' == $this->db_passwd)) && isset( $this->db_sourcename )) {
|
||||
$flagTns = (isset($arrayServerData["connectionType"]) && $arrayServerData["connectionType"] == "TNS")? 1 : 0;
|
||||
|
||||
if (isset($this->db_user) && (isset($this->db_passwd) || $this->db_passwd == "") && (isset($this->db_sourcename) || $flagTns == 1)) {
|
||||
switch ($pDbDriver) {
|
||||
case 'mysql':
|
||||
$link = @mysql_connect( $this->ip . (($this->db_port != '') && ($this->db_port != 0) ? ':' . $this->db_port : ''), $this->db_user, $this->db_passwd );
|
||||
@@ -366,16 +401,22 @@ class NET
|
||||
}
|
||||
break;
|
||||
case 'oracle':
|
||||
$this->db_port = (($this->db_port == "") || ($this->db_port == 0)) ? "1521" : $this->db_port;
|
||||
$link = @oci_connect( $this->db_user, $this->db_passwd, "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP) (HOST=$this->ip) (PORT=$this->db_port) )) (CONNECT_DATA=(SERVICE_NAME=$this->db_sourcename)))" );
|
||||
if ($link) {
|
||||
$stid = @oci_parse( $link, 'select AUTHENTICATION_TYPE from v$session_connect_info' );
|
||||
if ($flagTns == 0) {
|
||||
$this->db_port = ($this->db_port == "" || $this->db_port == 0)? "1521" : $this->db_port;
|
||||
|
||||
$cnn = @oci_connect($this->db_user, $this->db_passwd, "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP) (HOST=$this->ip) (PORT=$this->db_port) )) (CONNECT_DATA=(SERVICE_NAME=$this->db_sourcename)))");
|
||||
} else {
|
||||
$cnn = @oci_connect($this->db_user, $this->db_passwd, $arrayServerData["tns"]);
|
||||
}
|
||||
|
||||
if ($cnn) {
|
||||
$stid = @oci_parse($cnn, 'select AUTHENTICATION_TYPE from v$session_connect_info');
|
||||
$result = @oci_execute( $stid, OCI_DEFAULT );
|
||||
if ($result) {
|
||||
$stat->status = 'SUCCESS';
|
||||
$this->errstr = "";
|
||||
$this->errno = 0;
|
||||
@oci_close( $link );
|
||||
@oci_close($cnn);
|
||||
} else {
|
||||
$this->error = "the user $this->db_user doesn't have privileges to run queries!";
|
||||
$this->errstr = "NET::ORACLE->Couldn't execute any query on this server!";
|
||||
|
||||
@@ -83,6 +83,10 @@ class DbSourceMapBuilder
|
||||
|
||||
$tMap->addColumn('DBS_ENCODE', 'DbsEncode', 'string', CreoleTypes::VARCHAR, false, 32);
|
||||
|
||||
$tMap->addColumn('DBS_CONNECTION_TYPE', 'DbsConnectionType', 'string', CreoleTypes::VARCHAR, false, 32);
|
||||
|
||||
$tMap->addColumn('DBS_TNS', 'DbsTns', 'string', CreoleTypes::VARCHAR, false, 256);
|
||||
|
||||
} // doBuild()
|
||||
|
||||
} // DbSourceMapBuilder
|
||||
|
||||
@@ -81,6 +81,18 @@ abstract class BaseDbSource extends BaseObject implements Persistent
|
||||
*/
|
||||
protected $dbs_encode = '';
|
||||
|
||||
/**
|
||||
* The value for the dbs_connection_type field.
|
||||
* @var string
|
||||
*/
|
||||
protected $dbs_connection_type = 'NORMAL';
|
||||
|
||||
/**
|
||||
* The value for the dbs_tns field.
|
||||
* @var string
|
||||
*/
|
||||
protected $dbs_tns = '';
|
||||
|
||||
/**
|
||||
* Flag to prevent endless save loop, if this object is referenced
|
||||
* by another object which falls in this transaction.
|
||||
@@ -194,6 +206,28 @@ abstract class BaseDbSource extends BaseObject implements Persistent
|
||||
return $this->dbs_encode;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [dbs_connection_type] column value.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getDbsConnectionType()
|
||||
{
|
||||
|
||||
return $this->dbs_connection_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [dbs_tns] column value.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getDbsTns()
|
||||
{
|
||||
|
||||
return $this->dbs_tns;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the value of [dbs_uid] column.
|
||||
*
|
||||
@@ -392,6 +426,50 @@ abstract class BaseDbSource extends BaseObject implements Persistent
|
||||
|
||||
} // setDbsEncode()
|
||||
|
||||
/**
|
||||
* Set the value of [dbs_connection_type] column.
|
||||
*
|
||||
* @param string $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setDbsConnectionType($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is string,
|
||||
// we will cast the input to a string (if it is not).
|
||||
if ($v !== null && !is_string($v)) {
|
||||
$v = (string) $v;
|
||||
}
|
||||
|
||||
if ($this->dbs_connection_type !== $v || $v === 'NORMAL') {
|
||||
$this->dbs_connection_type = $v;
|
||||
$this->modifiedColumns[] = DbSourcePeer::DBS_CONNECTION_TYPE;
|
||||
}
|
||||
|
||||
} // setDbsConnectionType()
|
||||
|
||||
/**
|
||||
* Set the value of [dbs_tns] column.
|
||||
*
|
||||
* @param string $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setDbsTns($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is string,
|
||||
// we will cast the input to a string (if it is not).
|
||||
if ($v !== null && !is_string($v)) {
|
||||
$v = (string) $v;
|
||||
}
|
||||
|
||||
if ($this->dbs_tns !== $v || $v === '') {
|
||||
$this->dbs_tns = $v;
|
||||
$this->modifiedColumns[] = DbSourcePeer::DBS_TNS;
|
||||
}
|
||||
|
||||
} // setDbsTns()
|
||||
|
||||
/**
|
||||
* Hydrates (populates) the object variables with values from the database resultset.
|
||||
*
|
||||
@@ -427,12 +505,16 @@ abstract class BaseDbSource extends BaseObject implements Persistent
|
||||
|
||||
$this->dbs_encode = $rs->getString($startcol + 8);
|
||||
|
||||
$this->dbs_connection_type = $rs->getString($startcol + 9);
|
||||
|
||||
$this->dbs_tns = $rs->getString($startcol + 10);
|
||||
|
||||
$this->resetModified();
|
||||
|
||||
$this->setNew(false);
|
||||
|
||||
// FIXME - using NUM_COLUMNS may be clearer.
|
||||
return $startcol + 9; // 9 = DbSourcePeer::NUM_COLUMNS - DbSourcePeer::NUM_LAZY_LOAD_COLUMNS).
|
||||
return $startcol + 11; // 11 = DbSourcePeer::NUM_COLUMNS - DbSourcePeer::NUM_LAZY_LOAD_COLUMNS).
|
||||
|
||||
} catch (Exception $e) {
|
||||
throw new PropelException("Error populating DbSource object", $e);
|
||||
@@ -663,6 +745,12 @@ abstract class BaseDbSource extends BaseObject implements Persistent
|
||||
case 8:
|
||||
return $this->getDbsEncode();
|
||||
break;
|
||||
case 9:
|
||||
return $this->getDbsConnectionType();
|
||||
break;
|
||||
case 10:
|
||||
return $this->getDbsTns();
|
||||
break;
|
||||
default:
|
||||
return null;
|
||||
break;
|
||||
@@ -692,6 +780,8 @@ abstract class BaseDbSource extends BaseObject implements Persistent
|
||||
$keys[6] => $this->getDbsPassword(),
|
||||
$keys[7] => $this->getDbsPort(),
|
||||
$keys[8] => $this->getDbsEncode(),
|
||||
$keys[9] => $this->getDbsConnectionType(),
|
||||
$keys[10] => $this->getDbsTns(),
|
||||
);
|
||||
return $result;
|
||||
}
|
||||
@@ -750,6 +840,12 @@ abstract class BaseDbSource extends BaseObject implements Persistent
|
||||
case 8:
|
||||
$this->setDbsEncode($value);
|
||||
break;
|
||||
case 9:
|
||||
$this->setDbsConnectionType($value);
|
||||
break;
|
||||
case 10:
|
||||
$this->setDbsTns($value);
|
||||
break;
|
||||
} // switch()
|
||||
}
|
||||
|
||||
@@ -809,6 +905,14 @@ abstract class BaseDbSource extends BaseObject implements Persistent
|
||||
$this->setDbsEncode($arr[$keys[8]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[9], $arr)) {
|
||||
$this->setDbsConnectionType($arr[$keys[9]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[10], $arr)) {
|
||||
$this->setDbsTns($arr[$keys[10]]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -856,6 +960,14 @@ abstract class BaseDbSource extends BaseObject implements Persistent
|
||||
$criteria->add(DbSourcePeer::DBS_ENCODE, $this->dbs_encode);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(DbSourcePeer::DBS_CONNECTION_TYPE)) {
|
||||
$criteria->add(DbSourcePeer::DBS_CONNECTION_TYPE, $this->dbs_connection_type);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(DbSourcePeer::DBS_TNS)) {
|
||||
$criteria->add(DbSourcePeer::DBS_TNS, $this->dbs_tns);
|
||||
}
|
||||
|
||||
|
||||
return $criteria;
|
||||
}
|
||||
@@ -936,6 +1048,10 @@ abstract class BaseDbSource extends BaseObject implements Persistent
|
||||
|
||||
$copyObj->setDbsEncode($this->dbs_encode);
|
||||
|
||||
$copyObj->setDbsConnectionType($this->dbs_connection_type);
|
||||
|
||||
$copyObj->setDbsTns($this->dbs_tns);
|
||||
|
||||
|
||||
$copyObj->setNew(true);
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ abstract class BaseDbSourcePeer
|
||||
const CLASS_DEFAULT = 'classes.model.DbSource';
|
||||
|
||||
/** The total number of columns. */
|
||||
const NUM_COLUMNS = 9;
|
||||
const NUM_COLUMNS = 11;
|
||||
|
||||
/** The number of lazy-loaded columns. */
|
||||
const NUM_LAZY_LOAD_COLUMNS = 0;
|
||||
@@ -58,6 +58,12 @@ abstract class BaseDbSourcePeer
|
||||
/** the column name for the DBS_ENCODE field */
|
||||
const DBS_ENCODE = 'DB_SOURCE.DBS_ENCODE';
|
||||
|
||||
/** the column name for the DBS_CONNECTION_TYPE field */
|
||||
const DBS_CONNECTION_TYPE = 'DB_SOURCE.DBS_CONNECTION_TYPE';
|
||||
|
||||
/** the column name for the DBS_TNS field */
|
||||
const DBS_TNS = 'DB_SOURCE.DBS_TNS';
|
||||
|
||||
/** The PHP to DB Name Mapping */
|
||||
private static $phpNameMap = null;
|
||||
|
||||
@@ -69,10 +75,10 @@ abstract class BaseDbSourcePeer
|
||||
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
|
||||
*/
|
||||
private static $fieldNames = array (
|
||||
BasePeer::TYPE_PHPNAME => array ('DbsUid', 'ProUid', 'DbsType', 'DbsServer', 'DbsDatabaseName', 'DbsUsername', 'DbsPassword', 'DbsPort', 'DbsEncode', ),
|
||||
BasePeer::TYPE_COLNAME => array (DbSourcePeer::DBS_UID, DbSourcePeer::PRO_UID, DbSourcePeer::DBS_TYPE, DbSourcePeer::DBS_SERVER, DbSourcePeer::DBS_DATABASE_NAME, DbSourcePeer::DBS_USERNAME, DbSourcePeer::DBS_PASSWORD, DbSourcePeer::DBS_PORT, DbSourcePeer::DBS_ENCODE, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('DBS_UID', 'PRO_UID', 'DBS_TYPE', 'DBS_SERVER', 'DBS_DATABASE_NAME', 'DBS_USERNAME', 'DBS_PASSWORD', 'DBS_PORT', 'DBS_ENCODE', ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, )
|
||||
BasePeer::TYPE_PHPNAME => array ('DbsUid', 'ProUid', 'DbsType', 'DbsServer', 'DbsDatabaseName', 'DbsUsername', 'DbsPassword', 'DbsPort', 'DbsEncode', 'DbsConnectionType', 'DbsTns', ),
|
||||
BasePeer::TYPE_COLNAME => array (DbSourcePeer::DBS_UID, DbSourcePeer::PRO_UID, DbSourcePeer::DBS_TYPE, DbSourcePeer::DBS_SERVER, DbSourcePeer::DBS_DATABASE_NAME, DbSourcePeer::DBS_USERNAME, DbSourcePeer::DBS_PASSWORD, DbSourcePeer::DBS_PORT, DbSourcePeer::DBS_ENCODE, DbSourcePeer::DBS_CONNECTION_TYPE, DbSourcePeer::DBS_TNS, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('DBS_UID', 'PRO_UID', 'DBS_TYPE', 'DBS_SERVER', 'DBS_DATABASE_NAME', 'DBS_USERNAME', 'DBS_PASSWORD', 'DBS_PORT', 'DBS_ENCODE', 'DBS_CONNECTION_TYPE', 'DBS_TNS', ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, )
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -82,10 +88,10 @@ abstract class BaseDbSourcePeer
|
||||
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
|
||||
*/
|
||||
private static $fieldKeys = array (
|
||||
BasePeer::TYPE_PHPNAME => array ('DbsUid' => 0, 'ProUid' => 1, 'DbsType' => 2, 'DbsServer' => 3, 'DbsDatabaseName' => 4, 'DbsUsername' => 5, 'DbsPassword' => 6, 'DbsPort' => 7, 'DbsEncode' => 8, ),
|
||||
BasePeer::TYPE_COLNAME => array (DbSourcePeer::DBS_UID => 0, DbSourcePeer::PRO_UID => 1, DbSourcePeer::DBS_TYPE => 2, DbSourcePeer::DBS_SERVER => 3, DbSourcePeer::DBS_DATABASE_NAME => 4, DbSourcePeer::DBS_USERNAME => 5, DbSourcePeer::DBS_PASSWORD => 6, DbSourcePeer::DBS_PORT => 7, DbSourcePeer::DBS_ENCODE => 8, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('DBS_UID' => 0, 'PRO_UID' => 1, 'DBS_TYPE' => 2, 'DBS_SERVER' => 3, 'DBS_DATABASE_NAME' => 4, 'DBS_USERNAME' => 5, 'DBS_PASSWORD' => 6, 'DBS_PORT' => 7, 'DBS_ENCODE' => 8, ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, )
|
||||
BasePeer::TYPE_PHPNAME => array ('DbsUid' => 0, 'ProUid' => 1, 'DbsType' => 2, 'DbsServer' => 3, 'DbsDatabaseName' => 4, 'DbsUsername' => 5, 'DbsPassword' => 6, 'DbsPort' => 7, 'DbsEncode' => 8, 'DbsConnectionType' => 9, 'DbsTns' => 10, ),
|
||||
BasePeer::TYPE_COLNAME => array (DbSourcePeer::DBS_UID => 0, DbSourcePeer::PRO_UID => 1, DbSourcePeer::DBS_TYPE => 2, DbSourcePeer::DBS_SERVER => 3, DbSourcePeer::DBS_DATABASE_NAME => 4, DbSourcePeer::DBS_USERNAME => 5, DbSourcePeer::DBS_PASSWORD => 6, DbSourcePeer::DBS_PORT => 7, DbSourcePeer::DBS_ENCODE => 8, DbSourcePeer::DBS_CONNECTION_TYPE => 9, DbSourcePeer::DBS_TNS => 10, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('DBS_UID' => 0, 'PRO_UID' => 1, 'DBS_TYPE' => 2, 'DBS_SERVER' => 3, 'DBS_DATABASE_NAME' => 4, 'DBS_USERNAME' => 5, 'DBS_PASSWORD' => 6, 'DBS_PORT' => 7, 'DBS_ENCODE' => 8, 'DBS_CONNECTION_TYPE' => 9, 'DBS_TNS' => 10, ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, )
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -204,6 +210,10 @@ abstract class BaseDbSourcePeer
|
||||
|
||||
$criteria->addSelectColumn(DbSourcePeer::DBS_ENCODE);
|
||||
|
||||
$criteria->addSelectColumn(DbSourcePeer::DBS_CONNECTION_TYPE);
|
||||
|
||||
$criteria->addSelectColumn(DbSourcePeer::DBS_TNS);
|
||||
|
||||
}
|
||||
|
||||
const COUNT = 'COUNT(DB_SOURCE.DBS_UID)';
|
||||
|
||||
Reference in New Issue
Block a user