Map generation (polygon smoothing...)

Hi guys,
Im doing a final year project at uni and was wondering if anyone could help.
Basicaly im doing a clone of Scorched Earth (tank game) and at the moment am trying to generate a random 2D map (the polygon). At given x co-ords (0,4,8...1024) im generating random y co-ords within a given limit. The polygon for this is being generated fine, but its a bit peaky/spiky...(!?!).
Anyone know how i could possibly smooth it out?
Or if anyone knows any better ways of generating these 2D kinda maps, that'd be great.
thanks,
d

Hi!
I just implemented what I think you want...
Try this and play a bit with the paramters of painting method
import java.awt.Color;
import java.awt.Graphics;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.util.Random;
import javax.swing.JFrame;
* @author Dipl.Inf.(FH) Thorsten Hoffmann
* Created on 16.12.2003
public class Random2DLandscape extends JFrame {
     private int WIDTH = 800;
     private int HEIGHT = 600;
     public Random2DLandscape() {
          addWindowListener( new WindowAdapter() {
               public void windowClosing( WindowEvent e ) {
                    System.exit(0);
          addMouseListener( new MouseAdapter() {
               public void mouseClicked( MouseEvent e ) {
                    repaint();
          initGUI();
     private void initGUI() {
          setTitle( "Random2DLandscape" );
          setBounds( 0,0, WIDTH, HEIGHT );
          setVisible( true );
     public void paint( Graphics g ) {
          super.paint( g );
          paintRandom2DLandscape( 0, HEIGHT/2, WIDTH, 5, g );
      * Paints a smooth random landscape
      * @param beginPosX The x-coord where to begin
      * @param beginPosY The y-coord where to begin
      * @param width the width of the landscape
      * @param step The steps of randomly generated points
      * @param g The current Graphics object
     private void paintRandom2DLandscape( int beginPosX, int beginPosY, int width, int step, Graphics g ) {
          if( g != null ) {
               Random rnd = new Random();
               int rndDelta = 60;
               int y = beginPosY;
               int oldX = beginPosX;
               int oldY = y;
               g.setColor( Color.BLACK );
               for( int a=0; a < width; a+=step ) {
                    int rndVal = rnd.nextInt( rndDelta );
                    y += (rndVal-(rndDelta >> 1));
                    g.drawLine( oldX, oldY, oldX+a, y );
                    oldY = y;
                    oldX = oldX+a;
     public static void main(String[] args) {
          new Random2DLandscape();
}

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.

  • 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.

  • 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

  • How to export an image map as polygons?

    Hoping someone can help with this as im having no luck with google.
    I have a shape and in the attributes i have set the image map as polygon and put in a url
    I export this in jpg format and it generates a jpg and html file. however, the HTML file is only showing rectangle.
    <area shape="rect" coords="70,85,278,282" href="http://www.example.com">
    I would have expected this choosing rectangle for the image map.
    I am trying to export polygon coordinates.
    Does any one know why this is not working and what i have missed?
    Thanks in Advance

    This was posted before and I tried it myself but when I exported the polygon shape image map it exported properly.
    In the attributes you must choose polygon as the option it is not good enough just to have the shape a polygon.
    Perhaps the problem might be connected to the document color space was the document the default CMYK or was it a we document from the start?
    But what I always do is make a slice of the art or the artboard and save for the web as a jpeg and include the html.
    You can check it out here http://mysite.verizon.net/wzphoto/Polygon.html
    Here are the screen shots of what I did

  • 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

  • Can i use WebApps to build a Google map with polygon territories instead of points (pins)?

    I built a map with Google Maps Engine Pro - http://www.jmbcompanies.com/Services/Mitigation/map.
    It showcases territories using a Google map polygon shape.  I wrote custom KML to create it.  However, with Google Maps Engine pro you cannot create custom hyperlinks.  It will link a URL that you put in the data, but you cannot name it or target the parent window, so therefore it opens a new tab for each click to more details.  I really want it to open the WebApp detail page for that item within the same window.
    So, is there a way to use the BC integrated Google maps technology and show polygons instead of points on the map? I've used {module_webappsmap,20754,a} to place individual locations on a map, but what about territories or polygon areas?
    I'm sure that I can create a WebApp to generate the KML for each placeholder.  But how do I turn that into a map?
    THANKS!!

    You can not create a kml file in BC through webapps. Modules do not work in other file types and you do not have server code access to generate a file type of results.
    You need to use the google API and do this yourself or you can just use this:
    And embed it into a custom field. My Maps

  • 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.

  • 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

  • Error in mapping generation when using a data rule

    I hope someone can point me in the right direction on this one. I've searched all over but can't find a similar problem anywhere.
    This is OWB Client 10.2.0.1.31 and repository 10.2.0.1.0 in a 10g SE database . I have a table on which I have defined a data rule, which is deployed in the database along with its corresponding error table. The rule I have used is the built-in IS_DATE and it is applied to a VARCHAR2 field that will store a date in a specific format. I have defined the table as an operator in a mapping, and set the IS_DATE data rule action to MOVE TO ERROR. When I try to deploy the mapping I get the follwoing errors in the log:
    Warning ORA-06550: line 244, column 4:
    PL/SQL: ORA-00907: missing right parenthesis
    Warning ORA-06550: line 221, column 3:
    PL/SQL: SQL Statement ignored
    Warning ORA-06550: line 3112, column 132:
    PLS-00103: Encountered the symbol "DD" when expecting one of the following:
    . ( ) , * @ % & | = - + < / > at in is mod remainder not
    range rem => .. <an exponent (**)> <> or != or ~= >= <= <>
    and or like LIKE2_ LIKE4_ LIKEC_ between || multiset member
    SUBMULTISET_
    The symbol "." was substituted for "DD" to continue.
    When I look at the generated code, there are lines like this one:
    not (wb_to_date("table"."column", Month dd, RRRR, Mon dd, RRRR, MM-DD-RRRR, MM/DD/RRRR, YYYY-MM-DD, YYYY/MM/DD) is not null
    Why is OWB not putting single quotes around the data formats from the built-in data rule? Is there something fundamental I'm missing in my warehouse model?

    Hi
    This is bug 5195315, which looks to be fixed in a 10.2 patch. If you can pick up the latest 10.2 patch there is like 3 years of fixes worth picking up.
    Cheers
    David

  • 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!

  • Class mapping generation

    Hi,
    I would like to know if exists a free tool to generate automaticaly a class model object or a class mapping from the source code of an application?
    Thanks for your help!
    Nicolas

    Why javadoc.exe is not good?

Maybe you are looking for

  • Error while running reports in Portal

    Hi , While running a crystal reports in portal a pop-up appears with the following error message " Sorry = you are not logged into this server. Ensure that your user name and password, as well as the APS name are correct. " Can anyone help on this?

  • HT2693 app ireconcile

    I purchased the app iReconcile from the app store.  It was workinbg ok then I decided to sync and purchased a 6 month of enabling sync. I just tried to sync both iphone and ipad and lost all data on both.  HELP how do I get my data back

  • Acquisition de tension et fréquence sur ni6010

    Bonjour Je souhaite faire des acquisition de tension de de fréquence (tous cela en continue) avec une carte ni6010 gamme de tension 0-5V fréquence x-500Hz j'ai essayé se montage mais sa ne marche pas (pièce jointe) pourquoi?? Pièces jointes : acqui.J

  • Keynote Custom Theme Background

    I have created my own custom theme in Keynote on my iMac, it works fine and has a white background, so previews fine. However when I save it to Keynote on my iPad and view it, the white areas on the background go transparent and I just see the standa

  • EHD/Libraries/locating/updating/etc...

    I have an EHD that at first was in the libraries, and I could work in it. Now the program doesn't show it or let me locate/update it. I tried another hard drive and it works fine. It is just the first hard drive with the projects that i need to edit.