Versioning OWB 10 g / 11g

I use OWB 10 g release 2, but there is no version control functionality. The functionality of snapshot and export/import can help but it is very difficult with the large project.

Is there a new feature with release 11g OWB 1 or 2 for version control? Do you have any proposal for version control in 10g?

Robin

Published by: user451399 on 2009-06-12 08:07

Hi Robin,

I use different tools, according to the customer infrastructue. Right now I use CVS with TortoiseCVS as a Windows Client, but I also recommend to take a look at the subversion.
They are the two open source.

Kind regards
Carsten.

Tags: Business Intelligence

Similar Questions

  • last version Oracle after oracle 11g

    Hello

    I am an Oracle DBA, can someone please tell me what is the version published after oracle 11g?
    and what is the latest version of oracle?

    Thanks in advance
    Vincent

    someone said that oracle 12 g came, you erased the doubt.

    Yet.11.2.0.2 is the most recent.

    Anand

  • validate_layer_with_context - differences between the version 10 g and 11g

    I have a spatial table that valid without problem under v10.2.0.4.0. This table has been reproduced to a new database running v11.2.0.2.0. Under this environment, validation reports an "ORA-13366: incorrect combination of inner outer rings" question. Everyone knows this situation and does anyone have an explanation?

    Thank you
    David

    Baris thanks!

    I missed that in the docs and the 'note' is in the documentation of 10g more.
    http://download.Oracle.com/docs/CD/B14117_01/AppDev.101/b10826/sdo_objrelschema.htm#sthref215
    Maybe not a bad idea to consider adding a 'must' in the text in terms of orders.

    Then David polygons have been throughout the invalid in 10 g, but he didn't.
    Another reason to push to get to 11g.

    See you soon,.

    Paul

  • Latest version of the Oracle 11g for Windows Client

    I was able to download Oracle 11 g Client base of
    http://www.Oracle.com/technology/software/products/database/Oracle11g/111060_win32soft.html

    Anyone know if this what they have for 11g? Oracle has provided any patches in addition to this group?

    I'll have to specify this patch #: 6890831 and I should specify Windows (32) for platform? The Oracle Clients are Windows machines.

    Yes that's correct.

  • Updated 10gr 2-11g...

    Hello

    Can someone elaborate on the process of owb 10g and 11g upgrade any version?...

    Also can someone point me to the various documents and pre-requirements for upgrade?

    How can I migrate my mappings of 10 g and 11 g? Oracle documents will really help outside your experience.

    Thank you
    s

    Hello

    Please visit the following link on OWB 11.1 upgrade steps:

    http://download.Oracle.com/docs/CD/B28359_01/OWB.111/b31280/upgrade_03.htm#i1002327

    Kind regards

  • Why don't PIVOT clause works with aggregate TRIP of 11g function?

    Hi all!

    I'm really confused as to what is considered an aggregate function in the context of the PIVOT clause in 11 g.

    I've been playing with a lot of things related to collections lately and it took birth in an aside:
    CREATE TABLE TEST_COLL
    (
       NODE_ID    VARCHAR2(15 CHAR) NOT NULL,
       NODE_VALUE VARCHAR2(45 CHAR) NOT NULL,
       NODE_LEVEL NUMBER(1)         NOT NULL 
    );
    
    CREATE OR REPLACE TYPE TREE_NODE AS OBJECT 
    (
       NODE_KEY  VARCHAR2( 15 CHAR),
       NODE_NAME VARCHAR2(127 CHAR)
    );
    
    CREATE OR REPLACE TYPE TREE_NODES AS TABLE OF TREE_NODE NOT NULL;
    At this point, I'm sure we can all agree that the application
    SELECT NODE_LEVEL, 
           CAST(COLLECT(TREE_NODE(NODE_ID, NODE_VALUE)) AS TREE_NODES) AS NODES
      FROM TEST_COLL
     GROUP BY NODE_LEVEL;
    perfectly valid is that the function of COLLECTION is an aggregation function according to the [Official Documentation | http://docs.oracle.com/cd/E11882_01/server.112/e10592/functions031.htm#i1271564]
    But then, one of the two following queries should work
    SELECT CAST(REGION_NODES     AS TREE_NODES) AS REGIONS,
           CAST(DEPARTMENT_NODES AS TREE_NODES) AS DEPARTMENTS,
           CAST(AREA_NODES       AS TREE_NODES) AS AREAS,
           CAST(CENTRE_NODES     AS TREE_NODES) AS CENTRES
      FROM (SELECT NODE_LEVEL, TREE_NODE(NODE_ID, NODE_VALUE) AS NODE
              FROM TREE_COLL
           )
     PIVOT (COLLECT(NODE) FOR NODE_LEVEL IN (1 AS REGION_NODES,
                                             2 AS DEPARTMENT_NODES,
                                             3 AS AREA_NODES,
                                             4 AS CENTRE_NODES
                                            )
           );
    
    or (better)
    
    SELECT REGION_NODES     AS REGIONS,
           DEPARTMENT_NODES AS DEPARTMENTS,
           AREA_NODES       AS AREAS,
           CENTRE_NODES     AS CENTRES
      FROM (SELECT NODE_LEVEL, TREE_NODE(NODE_ID, NODE_VALUE) AS NODE
              FROM TREE_COLL
           )
     PIVOT (CAST(COLLECT(NODE) AS TREE_NODES) FOR NODE_LEVEL IN (1 AS REGION_NODES,
                                                                 2 AS DEPARTMENT_NODES,
                                                                 3 AS AREA_NODES,
                                                                 4 AS CENTRE_NODES
                                                                )
           );
    Yet, these two with
    ORA-56902: expect aggregate function inside pivot operation
    Study further, I found the same behavior when you use the aggregate function in the PIVOT XMLAGG clause.

    Is this normal? And if this is the case, is there another way to get the result that I expected?

    My version is
    SQL> SELECT BANNER FROM V$VERSION;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for 64-bit Windows: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    Thanks in advance
    Best regards

    Philippe

    Most likely a bug. But you can work around it by using any other aggregate for this group is composed of a single line and apply collect a rotated value. Yes, the cost is double aggregation. And also there is another cost - you must create the service card member other aggreations such as MAX/MIN, etc. will not work:

    CREATE OR REPLACE TYPE TREE_NODE AS OBJECT
    (
       NODE_KEY  VARCHAR2( 15 CHAR),
       NODE_NAME VARCHAR2(127 CHAR),
       map member function f return varchar2
    )
    /
    
    Type created.
    
    CREATE OR REPLACE TYPE BODY TREE_NODE AS
      map member function f return varchar2 is
      begin
         return NODE_NAME;
      end f;
    end;
    /
    
    Type body created.
    
    CREATE OR REPLACE TYPE TREE_NODES AS TABLE OF TREE_NODE NOT NULL
    /
    
    Type created.
    
    SQL> select  *
      2    from  test_coll
      3  /
    
    NODE_ID NODE_VALUE NODE_LEVEL
    ------- ---------- ----------
    1       A                   1
    2       B                   2
    3       C                   3
    4       D                   4
    5       E                   1
    6       F                   2
    7       G                   3
    8       H                   4
    
    8 rows selected.
    
    SQL> 
    

    Now:

    SELECT CAST(COLLECT(REGION_NODES)     AS TREE_NODES) AS REGIONS,
           CAST(COLLECT(DEPARTMENT_NODES) AS TREE_NODES) AS DEPARTMENTS,
           CAST(COLLECT(AREA_NODES)       AS TREE_NODES) AS AREAS,
           CAST(COLLECT(CENTRE_NODES)     AS TREE_NODES) AS CENTRES
      FROM (
            SELECT  ROWID RID,
                    NODE_LEVEL,
                    TREE_NODE(NODE_ID, NODE_VALUE) AS NODE
              FROM  TEST_COLL
           )
     PIVOT (MAX(NODE) FOR NODE_LEVEL IN (
                                         1 AS REGION_NODES,
                                         2 AS DEPARTMENT_NODES,
                                         3 AS AREA_NODES,
                                         4 AS CENTRE_NODES
                                        )
           )
    /
    
    REGIONS(NODE_KEY, NODE_NAME)                         DEPARTMENTS(NODE_KEY, NODE_NAME)                     AREAS(NODE_KEY, NODE_NAME)                           CENTRES(NODE_KEY, NODE_NAME)
    ---------------------------------------------------- ---------------------------------------------------- ---------------------------------------------------- ----------------------------------------------------
    TREE_NODES(TREE_NODE('1', 'A'), TREE_NODE('5', 'E')) TREE_NODES(TREE_NODE('6', 'F'), TREE_NODE('2', 'B')) TREE_NODES(TREE_NODE('7', 'G'), TREE_NODE('3', 'C')) TREE_NODES(TREE_NODE('8', 'H'), TREE_NODE('4', 'D'))
    
    SQL> 
    

    SY.

  • Migration of JDev 10 g and 11g, WebLogic questions

    Hi again once, I tried to migrate upward for about two months now and I have not always had success. I stopped the process and re-evaluate my steps, read several different blog posts and came to the realization that I had to remove the old libraries of the ViewController project. I even tested the various updates on different blog sites. Now, I have reached another stop. I get this error related to the FacesContextFactory. The code has already been updated to include a 'utility' file that handles the FacesContext calls but WebLogic repeat myself that it does not find the class. There are two less JDeveloper libraries that contain the correct version of the FacesContextFactory class and they are both included in libraries. I even uninstalled JDeveloper/Fusion Middleware and reinstalled to try to make it work... If someone saw, I would be very grateful. I would like to address programmatic issues on this side and actually get the working code.

    Thank you

    Mr. priester

    [15:33:30] Application deployment...
    < 24 sep 2012 3:33:47 PM CDT > < error > < hats > < BEA-149265 > < error has occurred in the execution of the request for deployment with the ID ' 1348518811324 'for task ' 0'. Error is: "java.lang.ClassNotFoundException: javax.faces.context.FacesContextFactory'"
    java.lang.ClassNotFoundException: javax.faces.context.FacesContextFactory
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
    Truncated. check the log file full stacktrace
    Caused by: java.lang.ClassNotFoundException: javax.faces.context.FacesContextFactory
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
    Truncated. check the log file full stacktrace
    >
    < 24 sep 2012 3:33:47 PM CDT > < WARNING > < hats > < BEA-149004 > < failures have been detected all introducing deploy application task 'gathering '. >
    < 24 sep 2012 3:33:47 PM CDT > < WARNING > < hats > < BEA-149078 > < message 149004 track battery
    java.lang.ClassNotFoundException: javax.faces.context.FacesContextFactory
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
    Truncated. check the log file full stacktrace
    Caused by: java.lang.ClassNotFoundException: javax.faces.context.FacesContextFactory
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
    Truncated. check the log file full stacktrace
    >
    [15: 33:47] undeployment.
    [15: 33:47] - incomplete deployment.
    [15: 33:47] remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    # Cannot run application Muster because of the deployment on IntegratedWebLogicServer error.
    [Application Muster stopped and cancelled Server Instance IntegratedWebLogicServer]

    What version of 10g and 11g?

    See also
    http://docs.Oracle.com/CD/E26098_01/install.1112/e17074/ojdig.htm#BDCIHDBA
    http://www.Oracle.com/technetwork/developer-tools/jdev/migration-082101.html
    http://www.Oracle.com/technetwork/developer-tools/jdev/desupport11g-087493.html

  • Confusion in the Docs of Oracle for oracle 11G Release 2

    According to the Oracle Docs Library for Oracle 11 g Release 2 (11.2), in http://docs.oracle.com/cd/E11882_01/server.112/e25494/tspaces005.htm#ADMIN11375, "* when you specify NORMAL in offline mode, the database takes a control point for all data storage files, since need them offline." I tested it in my Studio to Test as shown below:--
    < > > > > > >

    SQL > select checkpoint_change # database v$.

    CHECKPOINT_CHANGE #.
    ------------------
    12915076

    SQL > ALTER TABLESPACE TEST_1 normal offline;

    SQL > select checkpoint_change # database v$.

    CHECKPOINT_CHANGE #.
    ------------------
    12915076
    SQL > alter tablespace TEST_1 online;

    Tablespace altered.


    SQL > select State from dba_tablespaces where nom_tablespace = 'TEST_1 ';

    STATUS
    ---------
    ONLINE

    SQL > select checkpoint_change # database v$.

    CHECKPOINT_CHANGE #.
    ------------------
    12915076


    In short, I took the 'TEST_1' tablespace offline normal mode and back again online, but the number unchanged checkpoint remains that violates the Oracle documentation. Posted below in my versions of Oracle database installed: -.

    SQL > select * from v version $;

    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE Production 11.2.0.2.0
    AMT for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production


    Any comments / entries from anyone here is going to be great!

    Published by: 918868 on July 27, 2012 03:22

    When a data file/tablespace is offline, begin to put in backup mode, only playback mode.

    Aman...

  • Import complete data base of different version (from 11.2 to 10.2)

    I have a source database which is
    SQL>select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE    10.2.0.5.0      Production
    TNS for HPUX: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    I have a target database that is
    SQL>select * from v$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE    11.2.0.2.0      Production
    TNS for IBM/AIX RISC System/6000: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    I took the source database export using below command
    expdp "'/ as sysdba'"  full=Y dumpfile=DATA_PUMP1:full%U.dmp, DATA_PUMP2:full%U.dmp logfile=DATA_PUMP1:full.log FILESIZE=10G PARALLEL=4
    I wait for my order of import to be
    impdp "'/ as sysdba'"  full=Y dumpfile=DATA_PUMP1:full%U.dmp, DATA_PUMP2:full%U.dmp logfile=DATA_PUMP1:impdp_full.log FILESIZE=10G
    My question is

    1. what change I do when importing from version of source database and target are different?
    2. do I need to change something in my order of import?

    1. what change I do when importing from version of source database and target are different?

    You don't have to do anything. You export metadata that will be recreated in your new database, and the new version. Just run the import command.

    2. do I need to change something in my order of import?

    I don't think that you need to change anything. A parallel add if you want, but parallel import does not match the parallel export, so keep it as you will be fine.

    Dean

  • version management

    Hello

    uses jdev11.1.1.5.0 - adfbc-ora10g - weblogic10.3.5 g

    When google I got what docs?

    JDeveloper 11 g R1 browser versioning
    http://andrejusb.blogspot.com/2009/11/versioning-Navigator-in-JDeveloper-11g.html

    I need a few doctors versioning in JDeveloper 11 g R1

    y at - he of the docs step by step. ?

    your help would be very appreciated.

    http://www.Oracle.com/technetwork/articles/ADF/ADF-Essentials-098792.html

    Articles 1, 2 and 3

  • location of the log of alerts in 11g

    What is the location of the alert in 11g log because it has a diagnostic?

    Sandy wrote:
    What is the location of the alert in 11g log because it has a diagnostic?

    SQL> select * from v$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE    11.1.0.7.0      Production
    TNS for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    
    SQL>  show parameter background
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    background_core_dump                 string      partial
    background_dump_dest                 string      /oracle/app/oracle/diag/rdbms/PROD/PROD/trace
    
    SQL> !ls -ltr /oracle/app/oracle/diag/rdbms/PROD/PROD/trace/al*
    -rw-r----- 1 oracle oinstall 78512424 2011-10-03 02:00 /oracle/app/oracle/diag/rdbms/PROD/PROD/trace/alert_PROD.log
    
    SQL>
    
  • Setup hangs with web level installation/configuration 11g ps2

    Did someone had this problem when setting up Web Tier 11 g?

    I have tried only to install and configure and install. Installation is fine, but the configuration step still hangs at 0%. The last messages in the journal are:
    Checking for update...
    OK stock check: Patch ID 6599470 is part of the Oracle Home inventory with appropriate meta-data.
    Files check OK: Patch ID 6599470 files are present at Oracle.

    OPatch succeeded.
    ]
    ]]
    [2011-07 - 06T 21: 58:32.456 - 05:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 15] [ecid: > 0000J42WLBTFCCTTAAtHch1E5Hw2000006, 0] = stderr]
    [2011-07 - 06T 21: 58:32.488 - 05:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.silent] [tid: 15] [ecid: > 0000J42WLBTFCCTTAAtHch1E5Hw2000006, 0] event processing: 13002
    [2011-07 - 06T 21: 58:32.502 - 05:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.statistics] [tid: 15] [ecid: > 0000J42WLBTFCCTTAAtHch1E5Hw2000006, 0] install the adapter: Mark Start for: CONFIG
    [2011-07 - 06T 21: 58:33.056 - 05:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.silent] [tid: 27] [ecid: > 0000J42Y4zWFCCTTAAtHch1E5Hw200000I, 0] event processing: 12201
    [2011-07 - 06T 21: 58:33.763 - 05:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager] > [tid: 27] [ecid: 0000J42Y4zWFCCTTAAtHch1E5Hw200000I, 0] data definition for the Configuration of the Web layer: action
    [2011-07 - 06T 21: 58:33.772 - 05:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager] > [tid: 27] [ecid: 0000J42Y4zWFCCTTAAtHch1E5Hw200000I, 0] no data for action: Web Configuration of the layer
    I also tried setup in silent mode, but the same problems occur.

    This is the installation file I downloaded
    ofm_webtier_linux_11.1.1.2.0_64_disk1_1of1.zip

    The operating system is:
    OEL5u5 64-bit

    JRE:

    [oracle@server ~] java $-version
    Java version "1.6.0_25".
    Java (TM) SE Runtime Environment (build 1.6.0_25 - b06)
    Java for 64-bit Server VM (build 20, 0 - b11, mixed mode)


    Has anyone encountered this problem? Alternatively, someone at - it a better installation path for the current version of Web tier 11g? I read that the ps2 should be installed first, then ps4 can update to this version.

    Please let me know if you need more information.

    Thank you
    -ryan

    What I don't understand, is that he based WebLogic is?

    It comes to Linux, I had to use java-jar wls1034_generic.jar or everything turned to dirt.

    Did I forget something?

    I found some notes that can help:

    Fusion Middleware Configuration Wizard hangs. [1227043.1 ID]

    FMW 11 g "IDM" or 'Portal, forms, reports, discoverer' assistants of Configuration on 64-bit platforms hang at 0% "Creating Domain" [865462.1 ID]

    How to resume a Configuration of Instance 11 g FMW after having solved an error or a failure? [946023.1 ID]

    Best regards

    mseberg

    Published by: mseberg on July 7, 2011 13:53

    On mine, not the same install

    My config failed the first time, and here's how I solved it:

    Oracle Note 854117.1

    Thanks I solved the problem & installation is complete.
    It was a problem with the version of the logic of the web, I had to install wls v. 10.3.2
    instead of 10.3.3 & field are created successfully.

  • VSN NOT NULL issue with 11g

    In our 10g to 11g migration, we have identified a strange problem:

    With this DDL:
    drop table T1 cascade constraints;
    drop table T2 cascade constraints;
    drop table T3 cascade constraints;
    drop table T4 cascade constraints;
    
    --------------------------------------------------------
    --  DDL for Table T1
    --------------------------------------------------------
    
      CREATE TABLE "T1" 
       (     "T1_PK" NUMBER(4,0), 
         "T1_DATA" VARCHAR2(20 BYTE)
       );
    --------------------------------------------------------
    --  DDL for Table T2
    --------------------------------------------------------
    
      CREATE TABLE "T2" 
       (     "T2_PK" NUMBER(4,0), 
         "T2_T1_FK" NUMBER(4,0), 
         "T2_DATA" VARCHAR2(20 BYTE)
       );
    --------------------------------------------------------
    --  DDL for Table T3
    --------------------------------------------------------
    
      CREATE TABLE "T3" 
       (     "T3_PK" NUMBER(4,0), 
         "T3_T2_FK" NUMBER(4,0), 
         "T3_DATA" VARCHAR2(20 BYTE)
       );
    --------------------------------------------------------
    --  DDL for Table T4
    --------------------------------------------------------
    
      CREATE TABLE "T4" 
       (     "T4_PK" NUMBER(4,0), 
         "T4_T2_FK" NUMBER(4,0), 
         "T4_DISC" CHAR(1 BYTE)
       );
    
    REM INSERTING into T1
    Insert into T1 (T1_PK,T1_DATA) values (1,'T1_1');
    Insert into T1 (T1_PK,T1_DATA) values (2,'T1_2');
    REM INSERTING into PERS_ADM.T2
    Insert into T2 (T2_PK,T2_T1_FK,T2_DATA) values (1,1,'T2_1');
    Insert into T2 (T2_PK,T2_T1_FK,T2_DATA) values (2,2,'T2_2');
    Insert into T2 (T2_PK,T2_T1_FK,T2_DATA) values (3,1,'T2_3');
    REM INSERTING into PERS_ADM.T3
    Insert into T3 (T3_PK,T3_T2_FK,T3_DATA) values (1,1,'T3_1');
    Insert into T3 (T3_PK,T3_T2_FK,T3_DATA) values (2,2,'T3_2');
    Insert into T3 (T3_PK,T3_T2_FK,T3_DATA) values (3,1,'T3_3');
    REM INSERTING into PERS_ADM.T4
    Insert into T4 (T4_PK,T4_T2_FK,T4_DISC) values (1,1,'1');
    Insert into T4 (T4_PK,T4_T2_FK,T4_DISC) values (2,2,'1');
    Insert into T4 (T4_PK,T4_T2_FK,T4_DISC) values (3,1,'0');
    This work of SELECTION very well and always return data T3 because one of the T2 value is recovered
    select *
    from T1
    left join (select T2.* from T2 inner join T4 on T4.T4_T2_FK = T2.T2_PK and T4.T4_DISC = 0) T2A on T2A.T2_T1_FK = T1.T1_PK
    left join (select T2.* from T2 inner join T4 on T4.T4_T2_FK = T2.T2_PK and T4.T4_DISC = 1) T2B on T2B.T2_T1_FK = T1.T1_PK
    left join T3 on T3.T3_T2_FK = nvl(T2A.T2_PK, T2B.T2_PK)
    but when we activate restriction non-zero in the PK fields:
    --------------------------------------------------------
    --  Constraints for Table T1
    --------------------------------------------------------
    
      ALTER TABLE "T1" MODIFY ("T1_PK" NOT NULL ENABLE);
     
    --------------------------------------------------------
    --  Constraints for Table T2
    --------------------------------------------------------
    
      ALTER TABLE "T2" MODIFY ("T2_PK" NOT NULL ENABLE);
     
    --------------------------------------------------------
    --  Constraints for Table T3
    --------------------------------------------------------
    
      ALTER TABLE "T3" MODIFY ("T3_PK" NOT NULL ENABLE);
     
    --------------------------------------------------------
    --  Constraints for Table T4
    --------------------------------------------------------
    
      ALTER TABLE "T4" MODIFY ("T4_PK" NOT NULL ENABLE);
     
    the nvl function is not used!
    It seems that Oracle was so adept at realizing that a field not null can never be null, decide not to apply the nvl function

    Any idea?

    Can you just clarify what the problem?
    I see no difference in 11.2.0.2 - plan looks the same, data looks the same. Am I missing something?

    SQL> select * from v$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE    11.2.0.2.0      Production
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    
    SQL> set autotrace on
    SQL> select *
      2  from T1
      3  left join (select T2.* from T2 inner join T4 on T4.T4_T2_FK = T2.T2_PK and T4.T4_DISC = 0) T2A
    on T2A.T2_T1_FK = T1.T1_PK
      4  left join (select T2.* from T2 inner join T4 on T4.T4_T2_FK = T2.T2_PK and T4.T4_DISC = 1) T2B
    on T2B.T2_T1_FK = T1.T1_PK
      5  left join T3 on T3.T3_T2_FK = nvl(T2A.T2_PK, T2B.T2_PK);
    
         T1_PK T1_DATA         T2_PK   T2_T1_FK T2_DATA         T2_PK   T2_T1_FK T2_DATA         T3_PK   T3_T2_FK T3
    ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- -
             1 T1_1                1          1 T2_1                1          1 T2_1                1          1 T3_1
             2 T1_2                                                 2          2 T2_2                2          2 T3_2
             1 T1_1                1          1 T2_1                1          1 T2_1                3          1 T3_3
    
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 3187431534
    
    --------------------------------------------------------------------------------
    | Id  | Operation               | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    --------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT        |      |     3 |   417 |    27  (12)| 00:00:01 |
    |*  1 |  HASH JOIN OUTER        |      |     3 |   417 |    27  (12)| 00:00:01 |
    |   2 |   VIEW                  |      |     2 |   202 |    22  (10)| 00:00:01 |
    |*  3 |    HASH JOIN OUTER      |      |     2 |   202 |    22  (10)| 00:00:01 |
    |*  4 |     HASH JOIN OUTER     |      |     2 |   126 |    13   (8)| 00:00:01 |
    |   5 |      TABLE ACCESS FULL  | T1   |     2 |    50 |     4   (0)| 00:00:01 |
    |   6 |      VIEW               |      |     1 |    38 |     9  (12)| 00:00:01 |
    |*  7 |       HASH JOIN         |      |     1 |    54 |     9  (12)| 00:00:01 |
    |*  8 |        TABLE ACCESS FULL| T4   |     1 |    16 |     4   (0)| 00:00:01 |
    |   9 |        TABLE ACCESS FULL| T2   |     3 |   114 |     4   (0)| 00:00:01 |
    |  10 |     VIEW                |      |     2 |    76 |     9  (12)| 00:00:01 |
    |* 11 |      HASH JOIN          |      |     2 |   108 |     9  (12)| 00:00:01 |
    |* 12 |       TABLE ACCESS FULL | T4   |     2 |    32 |     4   (0)| 00:00:01 |
    |  13 |       TABLE ACCESS FULL | T2   |     3 |   114 |     4   (0)| 00:00:01 |
    |  14 |   TABLE ACCESS FULL     | T3   |     3 |   114 |     4   (0)| 00:00:01 |
    --------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       1 - access("T3"."T3_T2_FK"(+)=NVL("T2A"."T2_PK","T2B"."T2_PK"))
       3 - access("T2B"."T2_T1_FK"(+)="T1"."T1_PK")
       4 - access("T2A"."T2_T1_FK"(+)="T1"."T1_PK")
       7 - access("T4"."T4_T2_FK"="T2"."T2_PK")
       8 - filter(TO_NUMBER("T4"."T4_DISC")=0)
      11 - access("T4"."T4_T2_FK"="T2"."T2_PK")
      12 - filter(TO_NUMBER("T4"."T4_DISC")=1)
    
    Note
    -----
       - dynamic sampling used for this statement (level=4)
    
    Statistics
    ----------------------------------------------------------
             36  recursive calls
              0  db block gets
            111  consistent gets
              0  physical reads
              0  redo size
           1000  bytes sent via SQL*Net to client
            334  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              3  rows processed
    
    SQL>   ALTER TABLE "T1" MODIFY ("T1_PK" NOT NULL ENABLE); 
    
    Table altered.
    
    SQL>   ALTER TABLE "T2" MODIFY ("T2_PK" NOT NULL ENABLE); 
    
    Table altered.
    
    SQL>   ALTER TABLE "T3" MODIFY ("T3_PK" NOT NULL ENABLE); 
    
    Table altered.
    
    SQL>   ALTER TABLE "T4" MODIFY ("T4_PK" NOT NULL ENABLE);
    
    Table altered.
    
    SQL> select *
      2  from T1
      3  left join (select T2.* from T2 inner join T4 on T4.T4_T2_FK = T2.T2_PK and T4.T4_DISC = 0) T2A
    on T2A.T2_T1_FK = T1.T1_PK
      4  left join (select T2.* from T2 inner join T4 on T4.T4_T2_FK = T2.T2_PK and T4.T4_DISC = 1) T2B
    on T2B.T2_T1_FK = T1.T1_PK
      5  left join T3 on T3.T3_T2_FK = nvl(T2A.T2_PK, T2B.T2_PK);
    
         T1_PK T1_DATA         T2_PK   T2_T1_FK T2_DATA         T2_PK   T2_T1_FK T2_DATA         T3_PK   T3_T2_FK T3
    ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- -
             1 T1_1                1          1 T2_1                1          1 T2_1                1          1 T3_1
             2 T1_2                                                 2          2 T2_2                2          2 T3_2
             1 T1_1                1          1 T2_1                1          1 T2_1                3          1 T3_3
    
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 3187431534
    
    --------------------------------------------------------------------------------
    | Id  | Operation               | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    --------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT        |      |     3 |   417 |    27  (12)| 00:00:01 |
    |*  1 |  HASH JOIN OUTER        |      |     3 |   417 |    27  (12)| 00:00:01 |
    |   2 |   VIEW                  |      |     2 |   202 |    22  (10)| 00:00:01 |
    |*  3 |    HASH JOIN OUTER      |      |     2 |   202 |    22  (10)| 00:00:01 |
    |*  4 |     HASH JOIN OUTER     |      |     2 |   126 |    13   (8)| 00:00:01 |
    |   5 |      TABLE ACCESS FULL  | T1   |     2 |    50 |     4   (0)| 00:00:01 |
    |   6 |      VIEW               |      |     1 |    38 |     9  (12)| 00:00:01 |
    |*  7 |       HASH JOIN         |      |     1 |    54 |     9  (12)| 00:00:01 |
    |*  8 |        TABLE ACCESS FULL| T4   |     1 |    16 |     4   (0)| 00:00:01 |
    |   9 |        TABLE ACCESS FULL| T2   |     3 |   114 |     4   (0)| 00:00:01 |
    |  10 |     VIEW                |      |     2 |    76 |     9  (12)| 00:00:01 |
    |* 11 |      HASH JOIN          |      |     2 |   108 |     9  (12)| 00:00:01 |
    |* 12 |       TABLE ACCESS FULL | T4   |     2 |    32 |     4   (0)| 00:00:01 |
    |  13 |       TABLE ACCESS FULL | T2   |     3 |   114 |     4   (0)| 00:00:01 |
    |  14 |   TABLE ACCESS FULL     | T3   |     3 |   114 |     4   (0)| 00:00:01 |
    --------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       1 - access("T3"."T3_T2_FK"(+)=NVL("T2A"."T2_PK","T2B"."T2_PK"))
       3 - access("T2B"."T2_T1_FK"(+)="T1"."T1_PK")
       4 - access("T2A"."T2_T1_FK"(+)="T1"."T1_PK")
       7 - access("T4"."T4_T2_FK"="T2"."T2_PK")
       8 - filter(TO_NUMBER("T4"."T4_DISC")=0)
      11 - access("T4"."T4_T2_FK"="T2"."T2_PK")
      12 - filter(TO_NUMBER("T4"."T4_DISC")=1)
    
    Note
    -----
       - dynamic sampling used for this statement (level=4)
    
    Statistics
    ----------------------------------------------------------
             98  recursive calls
              0  db block gets
            186  consistent gets
              0  physical reads
              0  redo size
           1000  bytes sent via SQL*Net to client
            334  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
             20  sorts (memory)
              0  sorts (disk)
              3  rows processed
    
    SQL> 
    
  • automatic compilation in 11g

    Hi all I have a doubt

    SQL > select * from v version $;

    BANNER
    --------------------------------------------------------------------------------

    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL release 11.1.0.6.0 - Production
    CORE 11.1.0.6.0 Production
    AMT for 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production



    If I have a procedure a procedure b and a is dependent on the b proc but if procedure b is changed so A procedure become invalid

    If yes why it is not in a State not valid



    create or replace procedure B
        as
        no number;
     begin
        no := 10;
        dbms_output.put_line('the procedure b and no is '||no);
     end;
     /
    
    Procedure created.
    
    
    
       create or replace procedure a
          as
          no number;
        begin
          no := 50;
          dbms_output.put_line('the procedure a and no ' ||no  );
          b;
       end;
    
    
    now i am changing procedure b or recreating
    
    SQL>  create or replace procedure B
      2       as
      3       no number;
      4       begin
      5       no := 10;
      6     dbms_output.put_line('the procedure b and no is '||no);
      7       end;
      8  /
    
    Procedure created.
    
    SQL> SELECT STATUS FROM USER_OBJECTS WHERE OBJECT_NAME = 'A';
    
    STATUS
    -------
    VALID

    because * 11 g * a [url http://download.oracle.com/docs/cd/E11882_01/appdev.112/e17125/adfns_dependencies.htm#CHDJIIFC] this clever concept of "Fine grain Dependency Tracking.

    Vivek L

  • How to find the version of database

    Hi all

    My tns.ora file contains a lot of list of database and information

    How to find the data base belongs to which version?

    Means that 11g or 10g like this...?

    Thank you
    Praveen

    If you can connect to the DB, you can query

    select * from v$version
    

Maybe you are looking for

  • iMovie read latency

    I have a late 2008 MacBook Pro IntelCore 2Duo with 4 GB of Ram and last OS X El Capitan installed. I have been editing videos on iMovie 1.1.2 and it was great! The problem is now that I was edit a video but when I press play to listen to samples, ima

  • RAM of your mail

    I see the massive use of the RAM of Mail I removed all the email accounts that I assumed it was something in an Inbox too place, but even in this case, with no accounts other than iCloud (which contains zero messages and is never used) it is still ra

  • Loss of whem audio hdmi is plugged

    Hi, I have a new hp pavilion i5 and the audio works fine until I have plug into my 25xi Pavilion with an hdmi monitor. theres no speakers or headphones don't jack on the monitor

  • memory HP pavilion p6310y is the correct type

    http://www.Newegg.com/product/product.aspx?item=N82E16820145345&nm_mc=EMC-IGNEFL060713&cm_mmc=EMC-IG... PLEASE HELP US LONE B4 IS SALE ON

  • {A} redirect Google search and help antivirus program

    Hello My laptop Dell Inspiron 15 Intel N5010 x 64 system gives me wrong now. Whenever I'm doing research, it redirects me to associated virus and spam sites. Also, I got yesterday, Microsoft Security Essentials, which keeps something cleaning... And