Create/remove dblink

Hello

When I run a mapping, ODI creates and deletes the database link.

Is there a way to stop drop database link?

Thank you

Sorry all, I found the solution:

Made the switch from Oracle Warehouse Builder to Oracle Data Integrator 12

The Migration utility chooses a single LKM component-style for all of our converted mappings: LKM Oracle for Oracle sweater (DB Link). This new km is a wise choice because OWB always uses a database link to retrieve data from a remote server. A slight modification we did our mappings migrated was to hardcode a database link in the SOURCE_ACCESS_DB_LINK option in the KM to eliminate the process of abandonment repeatedly and create the database with each race link, also shown in Figure 21.

If we are not satisfied by the link of database approach (although I don't know why we couldn't), we could use a different KM resembling common in other ETL tools loading techniques using connections for the source and target databases, combined with a treatment based on the Bay. Figure 22 shows the selection of LKM SQL for SQL (built-in). Remember that the database link will exceed generally based on treatment Bay and is an important added value in the ODI deployment rather than other ETL tools.

Tags: Business Intelligence

Similar Questions

  • Problem when selecting a table after you have created the dblink

    Hello

    We have created the dblink for oracle to sql server and created successfully,

    But while selecting the oracle table, we receive the question below,

    Select * from 'sysdiagrams"@omniyat;

    ERROR on line 1:

    ORA-00942: table or view does not exist

    [Microsoft] [ODBC SQL Server driver] [SQL Server] Incorrect object name

    'sysdiagrams '. {42S 02, NativeErr = 208} [Microsoft] [ODBC SQL Server driver] [SQL

    Server] instructions could not be prepared. {NativeErr 42000, 8180 =}

    ORA-02063: preceding 2 lines of DAMAC

    Please provide us with the solution for this problem.

    Concerning

    Sham

    Hi S27.

    We had the similar problem, and I guess you went to the database MSSQL and verified that the table exists in fact.

    The problem we encountered was that we were in the wrong database on the instance of MSSQL.  I am unsure of your Setup, but if this is your case, you can try either by setting the database default to the ODBC connection to the correct on the instance MSSQL database (can be done on Windows, I'm not sure about Linux), or you can USE the command through the :

    SELECT
         DBMS_HS_PASSTHROUGH.EXECUTE_IMMEDIATE@<> ('USE <>')
    FROM DUAL;
    

    You try your select statement from the DB link.

  • create/remove graph sliders programattically

    Hello

    In LabVIEW 2011, we are working with a single-trace graph that updates periodically; We need to draw programmatically the sliders during the race, as new data become available.  Initially, we just create a static array of cursors, made all invisible, then moved and makes them visible as they have become relevant; However, now we want to make the dynamic list.  It is best done by reading the list of cursor, manipulate the table according to the needs, and then writing it in the chart, or is there better ways?  The process is to identify peaks and valleys in a plot in ever-changing data.  I find it interesting that the user can create new cursors manually, but there is no property to allow the same programmatically; Ditto for remove them; the user created cursors use the default attributes that are not adapted to our needs.

    I am looking for the solution less long-term, and rewrite the entire table seems to be unnecessary performance degradation.

    Maybe we should create new sliders in blocks to reduce the number of updates to list of cursor?  I'd like to think the worst case is about 60 sliders, but as the peak detect algorithm is automatic, an unusual data signal could cause several hundred.  The graph will survive even this?  All the data will be, worst case, be something like 15000 data points.  Experiences/pointers/warnings will be appreciated.

    Thank you

    Blair

    Blair Smith wrote:

    [...] It is best done by reading the list of cursor, manipulate the table according to the needs, and then writing it in the chart, or is there better ways?

    I don't see any method to add a slider, so manipulate the table is the way to go.  You could save the time it takes for the reading list reading it only once, at the beginning and adding to what your field evolves.  You can limit updates to occur no faster that the operator can enjoy.  If your data adds dozens of peaks in a fraction of a second, you could get away with adding them at once per second or more.

  • Vista Home creates removable at startup drives when none exist and will not work my mapped drive

    Hello

    I'm trying to fix and the problem I am having with my Vista Home.  I got this machine running for two years with the same program that requires a G: drive.

    All of a sudden when I start the machine there are some removable drives created (F, I, M) and my G drive has a big X on this subject.  I create my G drive with a .bat file and when it is run, it says Invalid G drive.

    I can get my G working disk by clicking on one of the removable drives and choose safely remove.  After that I can click on my drive and it comes back.

    Anyone has any idea why it is?  And what I do about it?

    Any help would be greatly appreciated.

    Thank you

    JRCPDXOR

    Hi JRCPDXOR,

    There is a possibility that this computer can contain some infections malware or virus causing the abduction drives created at startup.
    First of all, I would say that you remove the external hard drive from the computer and then scan the computer for any infection and remove.

    How to get rid of malware or viruses
    http://social.answers.Microsoft.com/forums/en-us/vistasecurity/thread/ba80504b-61f1-4D71-960f-b561798b7b42

    After the scan log drive G and check.

    Go back with the results!

    A red 'X' appears in the icon for a mapped in Windows Vista, network drive, even if you access the drive successfully

    http://support.Microsoft.com/kb/938062

    I hope this helps!

    Halima S - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Failed to create/remove snapshots

    I can't create or delete snapshot files either using VCenter or the CLI.  I think that it's because there are too many files of snapshots (36), but none of them appear in the Snapshot Manager.  I know not if I can create one and then delete everything in the Snapshot Manager which should solve the problem, but when I go to create one I have error: "Create snapshot in VM VMNAME cannot complete the operation because the file or folder already exists."

    The list of the files of the virtual machine is attached.

    Any suggestions?

    Since you have enough free space on the disk cloning option should work perfectly for you. What I recommend you to do so is:

    • Power off / stop the virtual machine (do not hang it)
    • backup the vmx file (in case something goes wrong)
    • Open a command line and cd to the directory of the virtual machine
    • run: vmkfstools-i RTPRJN.vmdk RTPRJN1.vmdk
    • on the virtual parameters detachment RTPRJN.vmdk computer HARD drive (do not select "remove disc" if requested)
    • in the virtual machine settings set the new RTPRJN1.vmdk as the virtual disk
    • Turn on the virtual machine

    If everything works as expected, you can remove all of the old/obsolete vmdk files.

    If - at any time - you don't know, please stop and ask in return!

    André

  • Create/remove instances of symbols with Youtube

    Hello

    I've searched high and low and have not been able to reach a solution to this, so I hope that the community can help.  I have a single file that has a video button to show and hide a video button. When the user clicks on the video display button, I would like to an instance of the video symbol should be created which shows a youtube video.  When the user clicks on the video button hide I want the instance to remove.  When the user clicks on the button display once again to create a new instance with the video youtube again.

    I'm trying to find a way to make the video refresh/reload when it appears on the screen, currently when I show/hide the video symbol, the film continues to play in the background.

    * Note * When I change "newVideo" of video in youtube embed code the video is displayed when you click the button, and another appears below it when it locks again, but when I remove the symbol 'video', he does not reappear when I click on the button display.

    Here is the code that I placed in each button:

    See the video:

    newVideo var = sym.createChildSymbol ("video", "Stage");

    newVideo.getSymbolElement (.css({))

    'position': 'absolute ',.

    'left': 30,.

    'top': 48

    });

    code to embed youtube in symbol

    YouTube var = $("< iframe/>");

    SYM.$("newVideo"). Append (YouTube);

    YouTube.attr ('type', ' text/html "");

    YouTube.attr ('width', ' 640');

    YouTube.attr ('height', ' 360');

    youtube.attr ('src', 'https://www.youtube.com/embed/MyFv6UKsW70?rel=0');

    YouTube.attr ("frameborder', '1'");

    YouTube.attr ('allowfullscreen', ' 0');

    Hide videos:

    sym.getSymbol("newVideo").deleteSymbol ();

    Here is a link to my zip of the project:

    http://www.capitalpress.biz/html5ads/YouTube/CreateDeleteYoutube.zip

    Thank you very much for your help!

    Brandon

    I figured out how to reset the video from Youtube to go underground with the response of Heathrowe and FigFrance contribution to the thread found here:

    https://forums.Adobe.com/message/4979969#4979969

    It is a more elegant solution than the deletion and recreation of the container every time. The secret has been adding. empty() for my video container.  Here is my button code works:


    See the video:

    code to embed youtube in symbol

    YouTube var = $("");

    SYM.$("video"). Empty(). Append (YouTube);

    YouTube.attr ('type', ' text/html "");

    YouTube.attr ('width', ' 640');

    YouTube.attr ('height', ' 360');

    YouTube.attr ('src', 'https://www.youtube.com/embed/MyFv6UKsW70?rel=0');

    YouTube.attr ("frameborder', '1'");

    YouTube.attr ('allowfullscreen', ' 0');

    Display an item

    SYM.$("video"). Show();

    Hide videos:

    SYM.$("video"). Empty();

    Hide an element

    SYM.$("video"). Hide();

    Brandon

  • Create/remove the container following the event full/empty container

    Mr President.

    I'm creating a simple editor. now, I want to create a new container each previous time container is full with text and/or images. I also want to delete if it is empty. Can you help me event that will be useful to make these two

    Thank you

    Hello Raja

    You must do the following

    Add

    If (textFlow.flowComposer.getControllerAt(textFlow.flowComposer.numControllers-1).calculateH eight() > textFlow.flowComposer.getControllerAt(textFlow.flowComposer.numControllers-1).comp ositionHeight) {}

    create the next controller

    }

    To remove

    {If (textFlow.flowComposer.getControllerAt(textFlow.flowComposer.numControllers-1).calculateH {eight () == 0)}

    remove the last empty container
    }
  • Create a postgres with dg4odbc oracle dblink

    Hello

    I am creating a dblink from an Oracle (10.2.0.3) database to PostgreSQL (8.3.11) database with DG4ODBC (11.2.0.1.0).

    I installed the 64-bit driver postgres:
    file /usr/lib64/psqlodbc.so
    /usr/lib64/psqlodbc.so: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), stripped
    I am the /oracle/.odbc.ini configuration:
    [record]
    Driver=/usr/lib64/psqlodbc.so
    Description  = PostgreSQL ODBC
    Servername       = cdxlan035
    Port         = 5435
    Username         = rec_lct
    Password     = rec_lct
    Database     = REC_TEST
    I am setting up the /oracle/product/DG4ODBC/hs/admin/initrecord.ora like this:
    #
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO = record
    HS_FDS_TRACE_LEVEL = 4
    HS_FDS_TRACE_FILE_NAME = /oracle/product/DG4ODBC/hs/log/hsodbc.trc
    HS_FDS_SHAREABLE_NAME = /usr/lib64/psqlodbc.so
    
    #
    # ODBC specific environment variables
    #
    set ODBCINI=/oracle/.odbc.ini
    I'm the /oracle/product/DG4ODBC/network/admin/listener.ora configuration
    LISTENER_HS =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = cdxlan036.douane)(PORT = 1525))
        )
      )
    
    ADR_BASE_LISTENER_HS = /oracle/product/DG4ODBC
    
    SID_LIST_LISTENER_HS =
      (SID_LIST =
        (SID_DESC =
          (PROGRAM = dg4odbc)
          (ORACLE_HOME = /oracle/product/DG4ODBC)
          (SID_NAME = record)
          (ENVS=LD_LIBRARY_PATH=/usr/lib64:/oracle/product/DG4ODBC/lib:/oracle/product/10.2.0/lib)
        )
      )
    I update my /oracle/product/10.2.0/network/admin/tnsnames.ora:
    RECORD2 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = cdxlan036)(PORT = 1525))
        )
        (CONNECT_DATA =
          (SID = record)
        )
        (HS=OK)
       )
    Last I created the dblink:
    CREATE  DATABASE LINK "RECORD"  CONNECT TO "rec_lct" IDENTIFIED BY "rec_lct"  USING 'RECORD2';
    When I'm trying to choose my postgres database, it does not. Here's the /oracle/product/DG4ODBC/hs/log/record.log:
    [oracle@cdxlan036 log]$ cat record_agt_30445.trc
    
    
    Oracle Corporation --- MONDAY    FEB 27 2012 17:11:31.204
    
    
    Heterogeneous Agent Release
    11.2.0.1.0
    
    
    
    
    Oracle Corporation --- MONDAY    FEB 27 2012 17:11:31.204
    
        Version 11.2.0.1.0
    
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "4"
    Entered hgosdip
     setting HS_OPEN_CURSORS to default of 50
     setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
     setting HS_FDS_RECOVERY_PWD to default value
     setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
     setting HS_IDLE_TIMEOUT to default of 0
     setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
     setting HS_NLS_NCHAR to default of "AL32UTF8"
     setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
     setting HS_FDS_DATE_MAPPING to default of "DATE"
     setting HS_RPC_FETCH_REBLOCKING to default of "ON"
     setting HS_FDS_FETCH_ROWS to default of "100"
     setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
     setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
     setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
     setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
     setting HS_FDS_MAP_NCHAR to default of "TRUE"
     setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
     setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
     setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
     setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
     setting HS_FDS_QUERY_DRIVER to default of "TRUE"
     setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
     Parameter HS_FDS_QUOTE_IDENTIFIER is not set
     setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
     setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
     setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
     setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
     setting HS_FDS_DELAYED_OPEN to default of "TRUE"
     setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
     ORACLE_SID is "record"
     Product-Info:
      Port Rls/Upd:1/0 PrdStat:0
      Agent:Oracle Database Gateway for ODBC
      Facility:hsa
      Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:record
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=31
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=31
    HOCXU_SEM_VER=102000
    Entered hgolofn at 2012/02/27-17:11:31
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/psqlodbc.so"
    Entered hgolofns at 2012/02/27-17:11:31
     libname=/usr/lib64/psqlodbc.so, funcname=SQLAllocHandle
     peflerr=6521, libname=/usr/lib64/psqlodbc.so, funcname=SQLAllocHandle
     hoaerr:28500
    Exiting hgolofns at 2012/02/27-17:11:31
    Failed to load ODBC library symbol: /usr/lib64/psqlodbc.so(SQLAllocHandle)
    Exiting hgolofn, rc=28500 at 2012/02/27-17:11:31
    Exiting hgoinit, rc=28500 with error ptr FILE:hgoinit.c LINE:337 FUNCTION:hgoinit() ID:Loading ODBC aray of function ptrs
    Entered hgoexit
    HS Gateway:  NULL connection context at exit
    Exiting hgoexit, rc=0 with error ptr FILE:hgoexit.c LINE:108 FUNCTION:hgoexit() ID:Connection context
    What wrong with my setup?

    Thanks for your help

    Kind regards

    Mathieu

    Yes, you need to have a (psqlodbc.so) ODBC driver and the ODBC Driver Manager (very common name is libodbc.so). If you are absent Manager ODBC drivers that you find for example the unixodbc.org and once you have it installed you need to fix HS_FDS_SHAREABLE_NAME to refer to the driver manager. The driver manager will check the file odbc.ini and according to the specified DSN, it will load your ODBC driver.

  • How to use the full Windows Vista Edition backup utility to create a backup of the computer of my computer on a network drive?

    I can read and write in my Win7 computer I'm currently configured to run any server at home, I can watch TV, store files and folders individual, to create, remove, in other words all I can do on this machine, I can do. 3. to disks are mapped to this machine and show as readers y and z.

    I had no problem establishing actions and everything seems to work.

    However, when I try to do a full backup of a computer with network drives they don't show in the drive selection drop-down list in the center of complete backup of Windows. Arises in each drive on this machine, not the target readers when they are listed in my computer and do show and reconnect when I reboot the machines.

    Any suggestion would be appreciated.

    Thank you:

    Don

    Hi Don,

    You can follow these methods & check if it helps.

    Method 1

    You can cancel the drive mapping & check if readers appear in the Windows complete PC Backup Center.

    Disconnect your computer from a network or network drive

    Reference: back up your programs, files and settings of the system,

    Method 2

    In addition, you can also follow the suggestion of TexRyker on Wednesday, February 28, 2007 18:07 from this link.

    http://social.technet.Microsoft.com/forums/en-us/itprovistaapps/thread/f545e8ae-46fc-4BEE-bfd8-be1fe1151e04/

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about the back upward, and restore the registry in Windows: http://support.microsoft.com/kb/322756

    Hope the helps of information. Please post back and we do know.
    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Why is not updated when you create or whole part of delete trigger?

    Hey there ' All,.

    I have a Page with links. These bindings are based on components business ADF, pretty standard stuff. On this page, I have an af:panelCollection. It contains buttons to create, remove, commit, and roll back. All those assigned to their respective shares in the ADF business components-based binding. In this collection of Panel there is also an editable table. It was created by dragging the view from business components in the collection of panels. ADF automatically created the iterator in the definition of the page.

    It is the source of the fragment:

    <?xml version='1.0' encoding='UTF-8'?>
    <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                    xmlns:f="http://java.sun.com/jsf/core">
      <af:panelGridLayout id="pgl1">
        <af:gridRow marginTop="5px" height="100%" marginBottom="5px" id="gr4">
          <af:gridCell marginStart="5px" width="60%" id="gc5" halign="stretch" valign="stretch">
            <af:panelCollection id="pc1" featuresOff="detachMenuItem" partialTriggers="b_new b_delete b_save b_restore">
              <f:facet name="menus"/>
              <f:facet name="toolbar">
                <af:toolbar id="t2">
                  <af:button actionListener="#{bindings.Create.execute}" text="New" disabled="#{!bindings.Create.enabled}"
                             id="b_new"/>
                  <af:button actionListener="#{bindings.Delete.execute}" text="Delete"
                             disabled="#{!bindings.Delete.enabled}" id="b_delete"/>
                </af:toolbar>
                <af:toolbar id="t3">
                  <af:button actionListener="#{bindings.Commit.execute}" text="Save" disabled="#{!bindings.Commit.enabled}"
                             id="b_save"/>
                  <af:button actionListener="#{bindings.Rollback.execute}" text="Restore"
                             disabled="#{!bindings.Rollback.enabled}" immediate="true" id="b_restore">
                    <af:resetActionListener/>
                  </af:button>
                </af:toolbar>
              </f:facet>
              <af:table value="#{bindings.PermissionView1.collectionModel}" var="row"
                        rows="#{bindings.PermissionView1.rangeSize}"
                        emptyText="#{bindings.PermissionView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                        rowBandingInterval="0" selectedRowKeys="#{bindings.PermissionView1.collectionModel.selectedRow}"
                        selectionListener="#{bindings.PermissionView1.collectionModel.makeCurrent}" rowSelection="single"
                        fetchSize="#{bindings.PermissionView1.rangeSize}" id="t1" filterVisible="true" immediate="true"
                        contentDelivery="immediate" summary="Edit available permissions">
                <af:column sortProperty="#{bindings.PermissionView1.hints.IdPermission.name}" sortable="true"
                           headerText="ID" id="c1" width="32" filterable="true" minimumWidth="22">
                  <af:inputText value="#{row.bindings.IdPermission.inputValue}"
                                label="#{bindings.PermissionView1.hints.IdPermission.label}"
                                required="#{bindings.PermissionView1.hints.IdPermission.mandatory}"
                                columns="#{bindings.PermissionView1.hints.IdPermission.displayWidth}"
                                maximumLength="#{bindings.PermissionView1.hints.IdPermission.precision}"
                                shortDesc="#{bindings.PermissionView1.hints.IdPermission.tooltip}" id="it1">
                    <f:validator binding="#{row.bindings.IdPermission.validator}"/>
                    <af:convertNumber groupingUsed="false" pattern="#{bindings.PermissionView1.hints.IdPermission.format}"/>
                  </af:inputText>
                </af:column>
                <af:column sortProperty="#{bindings.PermissionView1.hints.Designation.name}" sortable="true"
                           headerText="Designation" id="c2" width="221" filterable="true">
                  <af:inputText value="#{row.bindings.Designation.inputValue}"
                                label="#{bindings.PermissionView1.hints.Designation.label}"
                                required="#{bindings.PermissionView1.hints.Designation.mandatory}"
                                columns="#{bindings.PermissionView1.hints.Designation.displayWidth}"
                                maximumLength="#{bindings.PermissionView1.hints.Designation.precision}"
                                shortDesc="#{bindings.PermissionView1.hints.Designation.tooltip}" id="it2"
                                attributeChangeListener="#{bindings.Commit.execute}">
                    <f:validator binding="#{row.bindings.Designation.validator}"/>
                  </af:inputText>
                </af:column>
                <af:column sortProperty="#{bindings.PermissionView1.hints.Description.name}" headerText="Description"
                           id="c3" width="432">
                  <af:inputText value="#{row.bindings.Description.inputValue}"
                                label="#{bindings.PermissionView1.hints.Description.label}"
                                required="#{bindings.PermissionView1.hints.Description.mandatory}"
                                columns="#{bindings.PermissionView1.hints.Description.displayWidth}"
                                maximumLength="#{bindings.PermissionView1.hints.Description.precision}"
                                shortDesc="#{bindings.PermissionView1.hints.Description.tooltip}" id="it3" rows="3"
                                attributeChangeListener="#{bindings.Commit.execute}">
                    <f:validator binding="#{row.bindings.Description.validator}"/>
                  </af:inputText>
                </af:column>
              </af:table>
              <f:facet name="statusbar"/>
            </af:panelCollection>
          </af:gridCell>
          <af:gridCell marginStart="5px" width="40%" marginEnd="5px" id="gc6" halign="stretch" valign="stretch">
            <af:panelAccordion discloseMany="false" id="pa1">
              <af:showDetailItem id="pane_roles" text="Users" inlineStyle="overflow:scroll;">
                <af:region value="#{bindings.assignusers1.regionModel}" id="r1"/>
              </af:showDetailItem>
              <af:showDetailItem id="pane_permissions" text="Usergroups" inlineStyle="overflow:scroll;">
                <af:region value="#{bindings.assignusergroups1.regionModel}" id="r2"/>
              </af:showDetailItem>
              <af:showDetailItem id="pane_groups" text="Roles" inlineStyle="overflow:scroll;">
                <af:region value="#{bindings.assignroles1.regionModel}" id="r3"/>
              </af:showDetailItem>
            </af:panelAccordion>
          </af:gridCell>
        </af:gridRow>
      </af:panelGridLayout>
    </ui:composition>
    
    

    It's the source of the definition of the page of the fragment:

    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel" version="12.1.3.10.8" id="PermissionViewEditPageDef"
                    Package="fragments.permission">
      <parameters/>
      <executables>
        <variableIterator id="variables"/>
        <iterator Binds="PermissionView1" RangeSize="25" DataControl="AdminPanelModuleDataControl"
                  id="PermissionView1Iterator" Refresh="default"/>
        <taskFlow id="assignusers1" taskFlowId="/WEB-INF/taskflow/permission/assign-users.xml#assign-users" xmlns="http://xmlns.oracle.com/adf/controller/binding" Refresh="ifNeeded">
          <parameters>
            <parameter id="permissionID" value="#{bindings.IdPermission.inputValue}"/>
          </parameters>
        </taskFlow>
        <taskFlow id="assignusergroups1" taskFlowId="/WEB-INF/taskflow/permission/assign-usergroups.xml#assign-usergroups" xmlns="http://xmlns.oracle.com/adf/controller/binding" Refresh="ifNeeded">
          <parameters>
            <parameter id="permissionID" value="#{bindings.IdPermission.inputValue}"/>
          </parameters>
        </taskFlow>
        <taskFlow id="assignroles1" taskFlowId="/WEB-INF/taskflow/permission/assign-roles.xml#assign-roles" xmlns="http://xmlns.oracle.com/adf/controller/binding" Refresh="ifNeeded">
          <parameters>
            <parameter id="permissionID" value="#{bindings.IdPermission.inputValue}"/>
          </parameters>
        </taskFlow>
      </executables>
      <bindings>
        <action IterBinding="PermissionView1Iterator" id="removeRowWithKey" RequiresUpdateModel="false"
                Action="removeRowWithKey">
          <NamedData NDName="rowKey" NDValue="#{}" NDType="java.lang.String"/>
        </action>
        <action IterBinding="PermissionView1Iterator" id="Delete" RequiresUpdateModel="false" Action="removeCurrentRow"/>
        <tree IterBinding="PermissionView1Iterator" id="PermissionView1">
          <nodeDefinition DefName="de.lkvsh.shirotest.admin.model.ev.PermissionView" Name="PermissionView10">
            <AttrNames>
              <Item Value="IdPermission"/>
              <Item Value="Designation"/>
              <Item Value="Description"/>
            </AttrNames>
          </nodeDefinition>
        </tree>
        <action IterBinding="PermissionView1Iterator" id="Create" RequiresUpdateModel="true" Action="createRow"/>
        <action id="Commit" RequiresUpdateModel="true" Action="commitTransaction"
                DataControl="AdminPanelModuleDataControl"/>
        <action id="Rollback" RequiresUpdateModel="false" Action="rollbackTransaction"
                DataControl="AdminPanelModuleDataControl"/>
        <attributeValues IterBinding="PermissionView1Iterator" id="IdPermission">
          <AttrNames>
            <Item Value="IdPermission"/>
          </AttrNames>
        </attributeValues>
      </bindings>
    </pageDefinition>
    
    

    For the facts so far.

    Now, my experience with it:

    Whenever I click on the 'New' or 'Delete' button, it first calls the partial relaxation and then perform the action assigned to the button I clicked. I thought this because of the following behaviour:

    1. I load the page

    2. I click on the 'New' button - nothing happens

    3. I click on the button "New" once again - a single line appears

    4. I click on the button 'Delete' - nothing happens, still a line it

    5. I click on delete - disappearance of the line

    In order to engage without an error in database fields, that I need:

    1. load the page

    2. click on the button "new".

    3. click again on the button "new".

    4. click on the button Delete

    5. fill the new line

    6 validation

    What I tried:

    1. triggers, of course, I thought that business components and links stuff would be here to refresh everything about an action.

    2. I also tried in the PageDef not caching the results of the underlying iterator from the table. However, this only leads to an exception during step 3 of my 'to be able to commit without a basic error of data fields that I".

    I hope you can tell me what is the problem or you have any suggestions or advice.

    Thanks in advance

    Lukas Wagner

    You should always use CreateInsert operation declaratively add new line to af:table.

    "createInsert" has a problem: he inserts. I know almost no case (at least in a well-designed database location) when possible, insert without data. As it is in my case, so createInsert will not work, I get an exception from the database during insertion.

    It will insert line collection in British Colombia ADF, not in the db table.

    Framework will display data from db only when you call commit operation (or if you call transaction.postChanges ()) programmatically.

    Thus, the workflow must be:

    -Invoke CreateInsert

    -Fill in all the mandatory attributes for this ViewObject

    -Don't commit / rollback

    Dario

  • DBlink to 12 c of Database 9i database

    Hello

    I need to create the dblink to 12 c of Database 9i database.

    If anyone knows the solution, kindly share the steps.

    Thanks in advance.

    Concerning

    Villi Kumar

    Hello

    It is not supported.

    9i to 12 c connection will fail with the error: "ORA-28040: no authentication protocol match" error.

    Client / Server interoperability Support Matrix for Oracle Versions (Doc ID 207303.1)

    Kind regards

    Bashar

  • dblink to an instance on the same server

    Suppose I have two Oracle instances that sit on the same physical server. In one case, I create one dblink to another and this dblink allows to define a view as select * from sometable@dblink. Will there be of the type involved in the trafficking network restrictions (for example limited to the current network interface physical bandwidth as 100 Mbps, 1 Gbps) causing overhead tiny as these instances be on separate physical machines? In other words, is this dblink between instances the right way to go, or maybe there is possibility to enjoy a few additional mechanisms for these two instances provided the fastest way possible (and assuming that created the view above)?

    Thank you

    If the two instances are on the same server, LAN drivers/software can resolve the IP address of the connected 'server' as the local host, so he won't need to go out on the network (if possible, why not try unplugging the network cable from the server and see if it works again - assuming, of course, the network is not necessary for the duration).   The connection will pass through the network interface on the same server and communicate via the relevant port that the instance is configured on.

    This isn't really any different to having an instance of database installed on a computer not connected to the network that you connect then on this same computer by using any client interface, it will be always access it through the port on which the database is listening, but there is no need for any network physical to exist.

    As separate bodies, then using dblink is probably the method appropriate and common use.

  • Cannot create the data store: the current licence or ESXi version prohibited the execution of the requested operation.

    using vicfg-nas I am unable to create/remove a datastore nfs on my lab running esxi 6 at home. Is this not supported? Listing them works well. I can create/delete data warehouses nfs using the client to vcenter very well, but it's a little embarrassing.

    I guess that the host is allowed with the free edition of hypervisor! One of the few restrictions of the free version of hypervisor is access to the API. In order to have "write access" (i.e. change things rather than the list of them) you must run the host in evaluation mode, or license (Essentials or better).

    André

  • East-creation / removal of instant network connection causes slow VM?

    Hello

    We find that when we create / remove the snapshot for virtual machines, the network connectivity for VMS is much degraded.

    We would like to just know is there a relationship between the snapshot and underlying network connectivity?

    Your opinion is requested.

    Ideally it will not create any problem at the end of network. However its depends on the configuration of your network as Vswitch if you use the same vswitch to prod & save then it might be to create some slowness...

    What is the size of the virtual machines?

  • dblink

    Hi all

    I want to create a dblink with only "select" access a few tables.

    Please let me know how to achieve this.

    target db: 10g

    source db 10g

    Thank you

    Hello

    The source database;

    CREATE DATABASE LINK test
    CONNECT to scott IDENTIFIED BY scott
    With the HELP of 'test '.
      
    CREATE SYNONYM emp_scott for scott.emp@test;

    SELECT * from emp_scott;

    Create a "NEW user" on the target database and access only "SELECT" for the required tables

    Create synonym for tables of the NEW user.

    Then create a database connection using this new user in the target database.

    You can now be able to select only the operation on the tables.

Maybe you are looking for