Warehousebuilder 11g Index Influence on Mapping Generation

Hi,
I am using Oracle Warehousebuilder to create Mapping for Loading into Cubes. Some Mappings take very long and looking at the Query Plan from the Merge Statement out of the PL/SQL Packages there are optimizations on indexing the source tables.
Now the question is, sometime the optimizer seems no to regonize the index and hence use it. My question is if OWB recognizes during Mapping Deployment that the underlying Tables do have Indices and hence influence the Query? Does the Metadata (Index) need to be in the OWB Metadata in order to use it?
Thanks for you Help!

Hi,
I am using Oracle Warehousebuilder to create Mapping for Loading into Cubes. Some Mappings take very long and looking at the Query Plan from the Merge Statement out of the PL/SQL Packages there are optimizations on indexing the source tables.
Now the question is, sometime the optimizer seems no to regonize the index and hence use it. My question is if OWB recognizes during Mapping Deployment that the underlying Tables do have Indices and hence influence the Query? Does the Metadata (Index) need to be in the OWB Metadata in order to use it?
Thanks for you Help!

Similar Messages

  • VLD-1141: Internal error during mapping generation.

    I am getting the "VLD-1141: Internal error during mapping generation" error when deploying a mapping. This mapping was previously working fine. As part of a re-factoring effort, for all the underlying tables and views, we replace 2 existing columns with a new column. All the objects were successfully re-imported and synchronized in the mapping. The mapping is using Mapping Input Parameter, Lookups, Expression Transformations, Splitter, Set Operator, Source & Target Tables. All these transformation were part of the earlier working version of the mapping.
    On doing validation within the mapping, I get a success message followed by 4 warning for the Lookup Condition on key Lookup does not contain a complete unique key. Before the re-factoring effort, I was getting the same 4 warning messages, however the mapping was executing correctly.
    When I do Generate within the mapping, I get the following message:
    Code cannot be generated.
    Click the message tab for details.
    In the Design Center, when I do a validation on the mapping I get the following error:
    VLD-1141: Internal error during mapping generation.
    java.lang.NullPointerException
    at oracle.wh.service.impl.mapping.component.Sequence.getSequenceExpressions(Sequence.java:138)
    at oracle.wh.service.impl.mapping.component.Sequence.doSequenceValidation(Sequence.java:239)
    at oracle.wh.service.impl.mapping.component.entity.EntitySqlDelegate.prepareOutputContext2(EntitySqlDelegate.java:123)
    at oracle.wh.service.impl.mapping.component.entity.EntitySqlDelegate.prepareOutputContext2(EntitySqlDelegate.java:97)
    at oracle.wh.service.impl.mapping.component.entity.EntitySqlDelegate.prepareOutputContext(EntitySqlDelegate.java:78)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:240)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleSetBasedInternal(PlSqlGenerationMediator.java:2108)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleSetBased(PlSqlGenerationMediator.java:2090)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assemble(PlSqlGenerationMediator.java:541)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:798)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:335)
    at oracle.wh.service.impl.mapping.generation.WBDeployableMappingGenerator.generate(WBDeployableMappingGenerator.java:102)
    at oracle.wh.service.impl.generation.common.WBGenerationService.generateCode(WBGenerationService.java:433)
    at oracle.wh.service.impl.generation.common.WBGenerationService.generateCode(WBGenerationService.java:311)
    at oracle.wh.service.impl.generation.service.WhValidationGenerationTransaction.run(WhValidationGenerationTransaction.java:251)
    Any help in this regards would be appreciated.
    Naval

    Hi,
    I think your mapping is corrupted by converting two columns to one. The owb has always a problem if you change the structure of a table which is bound to a table operator. The way to avoid this is to drop the table operator after changing the table in the table editor and recreate it with the changed table definition.
    Make a test: select the new attribut in the table operator and look left on the configuration window. To which table and attribute it's bound?
    Regards,
    Detlef

  • Unable to open xsl file in Jdev 10.1.3.4.0.4270 (XSL Map generation failed)

    Hi Guys,
    I am trying to edit an XSL file using Jdeveloper 10.1.3.4 and it gives me the error "XSL Map generation failed. Please use the source editor to correct the problems and return to the design editor".
    In the Mapper Message Log i find these lines.
    Line Number:(44) : Error: "xsl:import" XSL Element Currently not Supported
    Line Number:(68) : Error: "xsl:apply-templates" XSL Element Currently not Supported
    Line Number:(67) : Error: <xsl:template match="/"> and <xsl:template name="..."> are the only permitted <template> elements in the XSL
    Any help / pointers is very much appreciated.
    Regards,
    Vik

    Perhaps better late than never...
    This is a limitation in JDeveloper that it cannot render an XSL in design/mapper view when it contains these features of XSL. Pretty much 100% of AIA transformations fall into this category.

  • Split Source Mapping Generation Task

    Hi
    I created a Dynamic Web Project in IBM Rational Application Developer Version 8. I am using BEA Weblogic 10.0.2 as the Application Server. When creating Dynamic web project, I added project to an EAR and named it testEAR. The project compiles without any errors and EAR is generated. When I try to add it to my server and deploy, I get the following error.
    Runtime exception occurred in publish task 'Split Source Mapping Generation Task'.
    Path must include project and resource name: /testEAR
    I checked web.xml for duplicate entries and didnt find anything. Below are my XML files for Deployment Assembley. The first is for the testEAR project
    <?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
    <wb-module deploy-name="testEAR">
    <wb-resource deploy-path="/" source-path="/"/>
    <dependent-module archiveName="XYZ.war" deploy-path="/" handle="module:/resource/XYZ/XYZ">
    <dependent-object>WebModule_1308854753228</dependent-object>
    <dependency-type>uses</dependency-type>
    </dependent-module>
    </wb-module>
    </project-modules>
    The second is for the Dynamic Web Project
    <?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
    <wb-module deploy-name="XYZ">
    <wb-resource deploy-path="/" source-path="/WebContent"/>
    <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
    <property name="context-root" value="XYZ"/>
    <property name="java-output-path" value="/XYZ/WebContent/WEB-INF/classes"/>
    </wb-module>
    </project-modules>
    Please let me know how to resolve this problem.

    Hi,
    This failure occurred probably because a Content Directory was not specified for the EAR project.
    If a Content directory is not specified, then ".settings" and ".project" files will be part of the source path for the bea compiler.
    As per the requirement, it is very important that WLS build scripts parse/compile and copy all the contents of the source folder.
    So, as per the process the ".settings" directory and the ".project" directory are also copied into the temporary build directory.
    This causes the failure during deployment as ".settings" and ".project" components can't be deployed.
    The Content directory is a requirement only in WLS environment, due to the build logic of WLS.
    By default, the WLS Eclipse tasks create a Content directory for a EAR project. So, this is not documented.
    But, when you import an existing EAR directory, this limitation is exposed.
    Creating the EAR Content folder should be the best solution.
    Steps to modify imported applications:
    1. Create a directory for the EAR content (for APP-INF, META-INF and all other modules or files that are part of the EAR) and copy all the files (except ".settings" and ".project") into the EAR content directory. (This has to be performed in windows explorer)
    2. Then edit the file .settings/org.eclipse.wst.common.component EAR content directory reference for deploy-path:
    For eg:
    <wb-resource deploy-path="/" source-path="/"/>
    to
    <wb-resource deploy-path="/" source-path="/EarContent"/>
    3. Refresh the eclipse project.
    4. Delete the temporary project folder that is created in the below location:
    <Workspace Home>\.metadata\.plugins\org.eclipse.core.resources\.projects\
    For eg:
    cd D:\Cases\EclipseWorkspace\.metadata\.plugins\org.eclipse.core.resources\.projects\
    del WebTestEAR\
    ** This is a temporary folder which will be created by WebLogic build scripts during
    deployment. **
    5. Now, try to deploy the EAR project.
    Hope it helps.

  • How can I use index in xsl mapping

    Hi All,
    How can I use index in XSL mapping.

    Hi Shiva,
    I am using two more select queries with the same manner ....
    here are the other two select query :
    ***************1************************
    SELECT * APPENDING CORRESPONDING FIELDS OF TABLE tbl_summary
        FROM ztftelpt LEFT JOIN ztfzberep
         ON  ztfzberep~gjahr = st_input-gjahr
         AND ztfzberep~poper = st_input-poper
         AND ztfzberepcntr  = ztftelptrprctr
        WHERE rldnr  = c_telstra_projects
          AND rrcty  = c_actual
          AND rvers  = c_ver_001
          AND rbukrs = st_input-bukrs
          AND racct  = st_input-saknr
          AND ryear  = st_input-gjahr
          and rzzlstar in r_lstar             
          AND rpmax  = c_max_period.
    and the second one is
    *************************2************************
      SELECT * APPENDING CORRESPONDING FIELDS OF TABLE tbl_summary
        FROM ztftelnt LEFT JOIN ztfzberep
         ON  ztfzberep~gjahr = st_input-gjahr
         AND ztfzberep~poper = st_input-poper
         AND ztfzberepcntr  = ztftelntrprctr
        WHERE rldnr  = c_telstra_networks
          AND rrcty  = c_actual
          AND rvers  = c_ver_001
          AND rbukrs = st_input-bukrs
          AND racct  = st_input-saknr
          AND ryear  = st_input-gjahr
          and rzzlstar in r_lstar                              
          AND rpmax  = c_max_period.
    for both the above table program is taking very less time .... although both the table used in above queries have similar amount of data. And i can not remove the APPENDING CORRESPONDING. because i have to append the data after fetching from the tables.  if i will not use it will delete all the data fetched earlier.
    Thanks on advanced......
    Sourabh

  • Error : XSL map generation failed

    I am trying to map two XSD and generate the XSL file which will transform from one xml to another.
    Source XML
    +<root>+
    +<Hello>Well</Hello>+
    +<World>Thats</World>+
    +</root>+
    Destination XML
    +<root>+
    +<property name="Consumer" value="Well"/>+
    +<property name="Consumer" value="Thats"/>+
    +</root>+
    Since the the destination XSD has same element twice, in its XSD it appears only once. So there only one node in the XSL Map tree in the right side of the JDeveloper (version 11.1.1.5.0)
    I can only drag lines from either <hello> or <world> from the 1st XSD to the <property> element of the second XSD.
    When I changed the XML map's xsl source to match my requirement as follows
         +<xsl:template match="/">+
              +<root>+
              +<ns0:property>+
                   +<xsl:attribute name="name">+
                        +<xsl:text disable-output-escaping="no">Consumer</xsl:text>+
                   +</xsl:attribute>+
                   +<xsl:attribute name="value">+
                        +<xsl:value-of select="/root/Hello"/>+
                   +</xsl:attribute>+
              +</ns0:property>+
              +<ns0:property>+
                   +<xsl:attribute name="name">+
                        +<xsl:text disable-output-escaping="no">Consumer</xsl:text>+
                   +</xsl:attribute>+
                   +<xsl:attribute name="value">+
                        +<xsl:value-of select="/root/World"/>+
                   +</xsl:attribute>+
              +</ns0:property>+
              +</root>+
         +</xsl:template>+
    +</xsl:stylesheet>+
    It works when I test the xsl but I can not go back to the design mode, it is showing the following error
    Error : XSL map generation failed
    Error: This node is already mapped, repeating nodes not supported :
    I am not able to map (drag lines) any more due this error. Please suggest how to create repeating nodes in the destination XSD
    Edited by: neilghoshidc on May 21, 2012 6:53 PM

    The XSL Map error is only in Design mode. Runtime shouldn't generate an error.
    Also refer
    Notes on the Mapper
    http://docs.oracle.com/cd/B31017_01/integrate.1013/b28211/xslt_mpr.htm
    When you map duplicate elements in the XSLT Mapper, the style sheet becomes invalid and you cannot work in the Design view. The Log Window shows the following error messages when you map an element with a duplicate name:
    Error: This Node is Already Mapped  :
    +"/ns0:rulebase/for-each/ns0:if/ns0:atom/ns0:rel"+
    Error: This Node is Already Mapped  :
    +"/ns0:rulebase/for-each/ns0:if/ns0:atom/choice_1/ns0:ind"+
    Error: This Node is Already Mapped  :
    +"/ns0:rulebase/for-each/ns0:if/ns0:atom/choice_1/ns0:var"+
    The workaround is to give each element a unique name.

  • Can you create an index on a Map?

    I have a few questions that I can't seem to figure out nor find a viable example for. Can you create an index for a Map contained within a nested object, and if so, how would you do this? I currently have a Filter the inspects this criteria in the cache but am unable to figure out to create a usabe index for the custom filter. I'm using Coherence 3.5.2 - any help would be most appreciated. I'm not sure if/what I need to do with the SimpleMapIndex....
    Here's the basic object map below. My filter is retrieving all of the CustomerGroup objects that have a Customer in it's collection that contains the passed in Integer value in the Customer's Map. So can you create an Index on a Map (and a nested one at that) and how do you that? The index would need to be on the nested customerValues hashmap.
    class CustomerGroup
        Set<Customer> customers ;
    class Customer
        Map<Integer, CustumerValue> customerValues;
    }

    If you write a custom ValueExtractor, which you need to create an index, then you will not need a custom Filter.
    Depending on how efficient you need to be you custom extractor can use POF and not have to deserialize the entries to create the index, or it can deserialize the class, which will make the code more straight forward.
    For example, without using POF
    public class MapKeyExtractor extends EntryExtractor implements PortableObject {
        public MapKeyExtractor() {
        @Override
        public Object extractFromEntry(Map.Entry entry) {
            Set<Integer> keys = new HashSet<Integer>();
            CustomerGroup group = (CustomerGroup) entry.getValue();
            Set<Customer> customers = group.getCustomers();
            for (Customer customer : customers) {
                keys.addAll(customer.getCustomerValues().keySet());
            return keys;
        @Override
        public boolean equals(Object obj) {
            return (obj instanceof MapKeyExtractor);
        @Override
        public int hashCode() {
            return MapKeyExtractor.class.hashCode();
        @Override
        public void readExternal(PofReader in) throws IOException {
            super.readExternal(in);
        @Override
        public void writeExternal(PofWriter out) throws IOException {
            super.writeExternal(out);
    }The extractor above will return a collection of all of the Integer values in the keys of all the customerValues of all the customers in a CustomerGroup (I have guessed you might have accessor methods on the classes you posted).
    You can then use a ContainsFilter for your query. For example to get all the values from the cache where the customerValues map contains a 19 in the key...
    Set results = cache.entrySet(new ContainsFilter(new MapKeyExtractor(), 19));You could write a version of the MapKeyExtractor that uses POF and would not deserialize the values but this would be more complicated code as it would need to extract the Map from the POF stream of the value and walk down the keys and values extracting the keys. It is doable but not worth it unless you are really worried about performance of index updates.
    Discalimer I have written the code above from the top of my head so have not compiled it or tested it but it should be OK.
    JK

  • XLS map generation failed

    am using Jdeveloper to create an ESB flow with soap service. I couldn’t save the xls map between my rout service and soap service. The error is
    “ XLS map generation failed. Please use source to correct the problems.”
    I ma using Jdeveloper 10.1.3.3
    Anyone has a clue?

    "When the XSLT Mapper encounters any elements in the XSLT document that cannot be found in the source or target schema, it is unable to process them and displays an
    Invalid Source Node Path error. XSL map generation fails. You can create and
    import a file that directs the XSLT Mapper to ignore and preserve these specific
    elements during XSLT parsing by selecting Preferences, then XSL Maps in the Tools main menu of Oracle JDeveloper."
    Please refer section
    Ignoring Elements in the XSLT Document
    http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28211.pdf

  • XSL Error: XSL Map generation failed

    When i try to open the xsl-design window i get the error
    Error: XSL Map generation failed. Please use the source editor.....
    When i switch to the source editor, i have a red box in the scroll bar. This has a tooltip with:
    "Obligatorisches Attribut version fehlt in Element xsl:stylesheet"
    translated:
    "obligatory attribut version is missing in element xsl:stylesheet"
    I get this error on every xsl map. New generated and others which has worked... Does anybody know, how to fix this?

    Hi HEWizard ,
    I am also facing similar issue,i am not able to open my xsl with ide.
    i am seeing XSL Map generation Failed error for all my XSL :( even all new XSL as well.
    how did you solve this problem,
    Any pointers.
    Thanks,
    Murali

  • OWB 11.2 internal error during mapping generation

    Dear all,
    Ever since switching to OWB 11.2 I have been sporadically receiving unexplicable errors during mapping deployment. It only happens when I generate more than 1 mapping simultaneously, and it appears to be completely random. One or more mappings will fail during the generation phase of the deployment with an 'internal error', after which I get the option to continue deployment of those mappings that did generate correctly. What I usually do next is trying to deploy the failed mappings again, which always works - the internal error does not reoccur. But it seems to be that this second generation does not work properly either.
    For example, today I had to redeploy my entire set of mappings, due to a server change. Of the 60 mappings I had, about 5 failed with the forementioned error. (Sadly I can't include the exact error here since the job logs in the control center do not record this failure to generate, it looks like the failed mappings never were included in the job in the first place.) One of them I deployed aftewards, and found the query in the pacakge to look like:
        INSERT
        /*+ APPEND  */
        INTO
          "SA_BETMD_01" "SA_BETMD_01"
          ("DEWNKNR",
          "DEBTMCE",
          "DEBTMOM",
          "DEBTMO2",
          "DEBTMO3")
          (SELECT
    /*+ NO_MERGE */
    /* DRBETMD_RS.INOUTGRP1 */
      "DRBETMD_RS"."DEWNKNR" "DEWNKNR",
      "DRBETMD_RS"."DEBTMCE" "DEBTMCE",
      "DRBETMD_RS"."DEBTMOM" "DEBTMOM",
      NVL("DRBETMD_RS"."DEBTMO2", "DRBETMD_RS"."DEBTMOM")/* ATTRIBUTE NVL_BTMO2.OGRP.DEBTMO2: EXPRESSION */ "DEBTMO2",
      NVL("DRBETMD_RS"."DEBTMO3", "DRBETMD_RS"."DEBTMOM")/* ATTRIBUTE NVL_BTMO3.OGRP.DEBTMO3: EXPRESSION */ "DEBTMO3"
    FROM
      "SRC"."DRBETMD_RS"@"SRCDBP@SAFE_SRC_PRD_RET"  "DRBETMD_RS"
        ;However, generating the preview code in OWB results in a more correct and complete version of the code:
        INSERT
        /*+ APPEND  */
        INTO
          "SA_BETMD_01" "SA_BETMD_01"
          ("DEWNKNR",
          "DEBTMCE",
          "DEBTMOM",
          "DEBTMO2",
          "DEBTMO3",
          "DEBTMO4")
          (SELECT
    /*+ NO_MERGE */
    /* DRBETMD_RS.INOUTGRP1 */
      "DRBETMD_RS"."DEWNKNR" "DEWNKNR",
      "DRBETMD_RS"."DEBTMCE" "DEBTMCE",
      "DRBETMD_RS"."DEBTMOM" "DEBTMOM",
      NVL("DRBETMD_RS"."DEBTMO2", "DRBETMD_RS"."DEBTMOM")/* ATTRIBUTE NVL_BTMO2.OGRP.DEBTMO2: EXPRESSION */ "DEBTMO2",
      NVL("DRBETMD_RS"."DEBTMO3", "DRBETMD_RS"."DEBTMOM")/* ATTRIBUTE NVL_BTMO3.OGRP.DEBTMO3: EXPRESSION */ "DEBTMO3",
      NVL("DRBETMD_RS"."DEBTMO4", "DRBETMD_RS"."DEBTMOM")/* ATTRIBUTE NVL_BTMO4.OGRP.DEBTMO4: EXPRESSION */ "DEBTMO4"
    FROM
      "SRC"."DRBETMD_RS"@"SRCDBP@SAFE_DGN_PRD_RET"  "DRBETMD_RS"
        ;The same goes for other packages, all of which crash due trying to insert NULL values in a mandatory column! (In case, DEBTMO4.)
    Funny enough, if I generate the mapping again a bit later - without making any changes to the mapping - the code is complete and everything works properly.
    Does anyone else ever had this problem? My main problem is that I can't just reproduce this problem, so I can't exactly report it as a bug and expect it to be solved...
    Kind regards,
    Kurt Geens

    Good morning Dave,
    I do mean during deployment. As you probably know all too well, the deployment of a package is split in two parts: generation of the code, and the actual deployment. The internal error occurs during that first part - the generation of code. The exact steps I went through when the error occured are the following:
    1) I selected about 15 mappings, and chose to 'replace' these mappings in the database. The code was generated, with 4 mappings having the forementioned 'internal error'. After pressing the play button the deployment of the 11 remaining packages continued without problem.
    2) Within the same session, I selected the 4 failed mappings, and chose to 'replace' these again. The generation and deployment was succesful - no internal errors occured.
    3) I exited OWB and started a daily workflow process. One of the mappings that had an internal error in step 1 crashed with a 'cannot insert null into' error.
    4) I restarted OWB, opened the mapping, chose to generate the code, and compared the generation result with the package code in the database. This resulted in the difference mentioned in my original mail.
    5) I deployed (replace) the mapping once more, and verified the code in the database. This time the code was complete (no missing column).
    Regards,
    Kurt

  • Change the mapping generation code from sql*loader to pl/sql

    I want to use a mapping with a flat file operator to generate pl/sql code even if a mapping generate sql*loader code as default.
    I tried to change the Language generation property of the mapping but an API8548 error message is shown. The suggested solution by OWB is to change the language generation code in the property inspector of the mapping.
    I can't use external table because I have to work with a remote machine.
    What i have to do to change the generation code from SQL*Loader to PL/SQL?

    How about breaking this out into 2 mappings? In the first mapping, map a flat file operator to an table using SQL*Loader code. Then define a second mapping using the table as source and therefore generate PL/SQL. Then use process flow to launch the 2nd map to run after completion of first.

  • How to get OIDs of indexes for class-map ?

    I have policy-map configured on cisco router with some class-maps inside. I need to draw a graph traffic passing through these classes. To make a graphs I use Cacti  which use SNMP query to draw the graphs (object name cbQosObjectsIndex).
    How to get OIDs of class-map indexes ?
    I tried to do this by following query:
    #snmpwalk -c community_string -v 2c 192.168.0.252 1.3.6.1.4.1.9.9.166.1.5.1.1.1
    but the answer was:
    iso.3.6.1.4.1.9.9.166.1.5.1.1.1 = No Such Object available on this agent at this OID
    The information i need is contained at the OID 1.3.6.1.4.1.9.9.166.1.15.1.1.7:
    # snmpwalk -c community_string -v 2c 192.168.0.252 1.3.6.1.4.1.9.9.166.1.15.1.1.7
    iso.3.6.1.4.1.9.9.166.1.15.1.1.7.1251.1277 = Gauge32: 0
    iso.3.6.1.4.1.9.9.166.1.15.1.1.7.1251.13363 = Gauge32: 0
    iso.3.6.1.4.1.9.9.166.1.15.1.1.7.1251.13383 = Gauge32: 0
    iso.3.6.1.4.1.9.9.166.1.15.1.1.7.1251.13435 = Gauge32: 734000
    iso.3.6.1.4.1.9.9.166.1.15.1.1.7.1251.13481 = Gauge32: 233000

    Because 192.168.0.252 1.3.6.1.4.1.9.9.166.1.5.1.1.1 is marked "non-accessible" according to http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInput=cbQosObjectsIndex
    You'll need to obtain the indices as explained in this blog post:
    http://pierky.wordpress.com/2009/04/09/cisco-class-based-qos-snmp-mib-and-statistics-monitor-for-nms/
    Joe wrote a very illustrative post on the subject of snmptables: https://supportforums.cisco.com/message/3051004#3051004
    And if your IOS supports it, you would want to configure the following to keep the indices from changing after every reboot or OIR:
    "snmp mib persist cbqos"

  • Mapping Generation Fail

    Hi,
    While generating a mapping, I am getting the following error:
    oracle.wh.repos.sdk.exceptions.WBException: Internal Error: MappingGenerator.generate WBGeneratedObject[] is null or length 0 for UII_MAP_NCA_21CNETWORKINSTANCE
    oracle.wh.repos.sdk.exceptions.WBException: Internal Error: MappingGenerator.generate WBGeneratedObject[] is null or length 0 for UII_MAP_NCA_21CNETWORKINSTANCE
         at oracle.wh.ui.runtime.application.WHRuntimeProgress.notifyInternalError(WHRuntimeProgress.java:180)
         at oracle.wh.ui.runtime.application.WHRuntimeGeneration.run(WHRuntimeGeneration.java:98)
    \nCMPException message and stack trace:\njava.lang.Exception: Internal Error: MappingGenerator.generate WBGeneratedObject[] is null or length 0 for UII_MAP_NCA_21CNETWORKINSTANCE
         at oracle.wh.service.impl.runtime.generation.MappingGenerator.generate(MappingGenerator.java:131)
         at oracle.wh.service.impl.runtime.generation.MappingGenerator.generateMapping(MappingGenerator.java:449)
         at oracle.wh.service.impl.runtime.generation.MappingGenerator.generate(MappingGenerator.java:96)
         at oracle.wh.service.impl.runtime.generation.DeploymentGenerator.generate(DeploymentGenerator.java:69)
         at oracle.wh.service.impl.runtime.UnitControllerImpl.defineUnit(UnitControllerImpl.java:130)
         at oracle.wh.service.impl.runtime.UnitControllerImpl.<init>(UnitControllerImpl.java:78)
         at oracle.wh.service.impl.runtime.DeploymentControllerImpl.defineControllerList(DeploymentControllerImpl.java:249)
         at oracle.wh.service.impl.runtime.DeploymentControllerImpl.<init>(DeploymentControllerImpl.java:50)
         at oracle.wh.service.impl.runtime.DeploymentSpecificationImpl.createController(DeploymentSpecificationImpl.java:395)
         at oracle.wh.ui.runtime.application.WHRuntimeGeneration.run(WHRuntimeGeneration.java:86)
    Can anyone highlight on this problem.
    Thanks in advance.
    Liyakat Hussain

    This is one of the most peculiar/anoying OWB error. Log out of OWB client without commiting and login back again. Try to generate/deploy the mapping once again, the error might not be there.
    There are no concrete steps that needs to be taken to avoid such errors.
    regards
    -AP

  • Building index on a map element in DPL

    Hi,
    If I have an entity which has a map in its data elements:
    @Entity
    static class Person {
    @PrimaryKey
    String ssn;
    Map<String, String> attributes;
    where the map takes key value pairs for the person attributes like { ("name","Jane"), ("age", "25") }. Is there a way to build a secondary index on the name attribute, meaning that the index is on attributes.get("name")?
    Thanks,
    Walaa.

    Using the DPL, the only way to do this (that I know of) is to create a many-many secondary index. Each key in the index could be a two part (name, value) key object. For example:
    @Entity
    static class Person {
        @PrimaryKey
        String ssn;
        @SecondryKey(relate=MANY_TO_MANY)
        Set<Atrribute> attributes;
    @Persistent
    static class Attribute {
        @KeyField(1)
        String name;
        @KeyField(2)
        String value;
    }You can use the SecondaryIndex<Attribute, String, Person> to query Person by Attribute.
    You previously said that you're using the collections API with a TupleSerialBinding, so I'm a little confused. I guess you're exploring multiple APIs?
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Does Oracle 11g index Office 2007 documents?

    I recently upgraded to 11g, because 10g didn't seem to index Office 2007 documents (e.g. Word, Excel, and PowerPoint) or PDFs v1.5 or higher. I need to be able to search on text in those documents. Everything works fine for PDFs and files generated using earlier versions of Microsoft products, but not for Office 2007 documents. The Oracle documentation for 11g says that it supports Office 2007, but I haven't had any luck. Any thoughts?
    Edited by: sac1222 on Nov 1, 2009 11:49 AM
    Edited by: sac1222 on Nov 1, 2009 1:59 PM

    All download versions of Oracle software are the full versions. The 11.1.0.7 patchset will work with your downloaded 11.1.0.6, but you will need an Oracle Support account before you can download the patchset.
    I believe you can download 11.1.0.7 directly for certain platforms - like Windows Server 2008 64 bit. If you don't have access to Oracle Support this might be an option for testing - you can get a 60 day evaluation copy of Windows Server 2008 [from Microsoft|http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=13c7300e-935c-415a-a79c-538e933d5424].

Maybe you are looking for