This page provides the solution to the issue of Missing link between any source code and Oracle database table.
Example code:
test.php
--------------------------------
--------------------------------
require 'connection_db.php';
$result = mysql_query("select * from table1 where AN_OP='".$_SESSION['Oper_Saisie']."' and AN_CODE='0000000041' and AN_AIF='O' ");
---------------------------------
So here link is expected from tect .php to table "table1"
This issue has been observed in CAST version 7.0.19 & PHP package : CAST_UA_CoE_PHP_ConfigPack_7.0
Release | Yes/No |
---|---|
8.3.x | |
8.2.x | |
8.1.x | |
8.0.x | |
7.3.x | |
7.0.x |
This issue may occur if table table1 is stored in lower case in oracle
For example :
Create table "table1"(AN_OP varchar(30),AN_CODE varchar(30), AN_AIF varchar(30));
Here since table table1 is in “” it is created in lower case and hence no subset is created and no links are created.
So the solution is to
Create table in upper case
Create table table1(AN_OP varchar(30),AN_CODE varchar(30), AN_AIF varchar(30));
In above example script should be without “” which will create table in upper case
Extract again
Run analysis again.