Dynamic style with non spatial data?

Hi all,
Here is the situation : I have two spatial tables with attributes.
Each row in the first one will be affected to a row or several rows in the second using a third table that links the primary keys of both tables. (the third table is actually a temporary table loaded from an xml file)
I would like to represent that on the map using a dynamic style. My column on which is based the affectation is varchar2 column. So I can't use numeric buckets.
Is it possible to do that? And how?
Thank you for your help.
Max

Hi Max,
for varchar2 columns you can use Collection bucket styles where the values can numbers of strings. Post the general sturcture of each table (the attributes), and how you would like to link them. You may be able to define a view linking the tables, and then use one attribute of the view for the collection style.
Joao

Similar Messages

  • Where is Non-Spatial data provider

    Hi!
    I study the MapViewer and go over examples in Oracle Maps Tutorial. All examples work fine except "Dynamic XML BI data and choropleth map", "Dynamic XML BI data and Pie Charts" and "Dynamic XML BI data and dynamic theme".
    I think at least second one (Dynamic XML BI data and Pie Charts) must show some sort of pie chars over the states polygons. I can only see the map with states.
    Is there something as "Non-Spatial data provider" that should be installed manually ?
    If not, where to start debugging?
    Regards,
    Sašo
    Edited by: user594252 on 10.2.2011 15:07

    I have ns_data_provider element uncommented in mapViewerConfig.xml :
    <ns_data_provider
    id="defaultNSDP"
    class="oracle.sdovis.NSDataProviderDefault"
    />
    On the other side, I can see pies&charts using
    -Dynamic theme, BI data and Pie chart style
    -Dynamic theme, pie chart and custom rendering rules
    -Dynamic theme and dynamic Bar chart style
    So there should be something wrong with handling "Dynamic XML BI data". This is essential for us, because we need integration between BI and Spatial.
    Any advice?
    Sašo

  • Retrieving spatial and non spatial data in one query

    Hello. I am having slight difficulties using JDBC to retrieve both spatial and non spatial data in the same query. The following is code from a sample program of mine that retrives spatial data from spatial tables.
    (In spatialquery geom is a geometry column and city is simply the name of the city):
    try
    Geometry geom = null;
    String database = "jdbc:oracle:thin:@" + m_host + ":" + m_port + ":" + m_sid;
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con = (OracleConnection)DriverManager.getConnection(database, sUsername, sPassword);
    GeometryAdapter sdoAdapter =
    OraSpatialManager.getGeometryAdapter("SDO", "8.1.7", STRUCT.class, null, null, con);
    String spatialquery = "SELECT a1.geom, a1.city \n" +
    "FROM cities a1";
    Statement stmt = con.createStatement();
    OracleResultSet rs = (OracleResultSet) stmt.executeQuery(spatialquery);
    int i = 0;
    int noOfFeatures = 2;
    while (rs.next())
    for(i = 1; i <= noOfFeatures; i++)
    STRUCT dbObject = (STRUCT)rs.getObject(i);
    try
    geom = sdoAdapter.importGeometry(dbObject);
    catch(GeometryInputTypeNotSupportedException e)
    System.out.println("Input Type not supported");
    catch(InvalidGeometryException e)
    System.out.println("Invalid geometry");
    System.out.println(geom);
    }//end while loop
    This retrieves the sptial data fine, however when I attempt to retreive the non-spatial data I keep getting a "ClassCastException" error. I understand it is something to do with "STRUCT dbObject = (STRUCT)rs.getObject(i);" line. Can anyone tell me how to retrieve both spatial and non-spatial data in the one query using JDBC. I have tried nearly everything at this stage. Cheers joe

    Theresa A Radke
    Posts: 20
    OTN Member Since: Jul, 2001
    retrieving spatial and non spatial in same query. May 23, 2003 12:02 AM
    retrieving spatial and non spatial in same query.

  • Exporting non spatial data

    Hi,
    We are migrating our geodatabase from oracle 9i to 11g R2, in our current 9i DB we have same schema for spatial and non spatial data,we want to seperate the spatial and non spatial data during migration to 11gR2 DB.Is there any way through which we can extract only non spatial data and can import it to new schema without loosing any relationships/data.
    Regards,

    Hi
    Do you wants to separate the spatial data and non spatial data into two different table spaces or two different schema ?. if you're trying to move non spatial data to a different schema then definitely you need to do some changes . at least create some synonyms with appropriate grants to work normal.
    if you wants to move it to a different table space then it's easy .
    *1. Create the tables definition for non spatial data related table using new tablespace*
    *2. grant the realted user the quota on the new tablespace*
    *3. start the import using ignore=Y*
    Cheers
    Kanchana.

  • Working with NON-Structured Data

    Dear Colleague,
    I am preparing to build a Forms application (using Oracle 9i Developer Suite, Release 2, version 9.0.2.0.1).
    The application (and Data model) will need to associate SOPs (standard operating procedures) with certain measurements and treatments. It is planned to have the SOPs be, for example, MS Word documents, i.e. the SOPs will be non-structured data.
    What is best practice when handling this situation? Please advise.
    Assume I would like to view, print and (maybe) update the SOPs (Word files).
    1. Should I just store a link to the Word file and a corresponding description or is it better to store the Word file in the DB?
    2. If in the DB, which data type?
    3. If SOP not in the DB, but a file, what is the mechanism for retrieval and display?
    4. Printing the Word file via Forms - how? problems to avoid?
    5. Update of the Word document via Forms - possible? How?
    Best regards,
    Randy

    Hi Vijay,
    sorry
    please rewrite the formula for the button disable as::
    NOTE:: in the formula i have used '<''>'  which nothing but a lessthan symbol and greater than symbol without single quotes (i.e. not equal to)
    BOOL(IF(LEN(@Emp_code) '<''>'0 AND LEN(@Earea)'<''>'0 AND LEN(@Edept)'<''>'0 AND DSUB(DVAL(@Joining_date), DVAL(@Ending_date),'D')<0 ,false,true))
    and make sure you have placed the date picker UI controls for your date functionality.
    this will not work for calender UI control on the form.
    and othe important point is the joining date should be less than ending date then only the button will be enable..
    if you want your joining date should be greater than ending date then write the formaula like this::
    BOOL(IF(LEN(@Emp_code)<>0 AND LEN(@Earea)'<''>'0 AND LEN(@Edept)'<''>'0 AND DSUB(DVAL(@Joining_date), DVAL(@Ending_date),'D')>0 ,false,true))
    i tried this
    its working for me
    Regards
    Srinivas

  • Process not writing to JMS queue with non-xa data source

    I have a process reading from a JMS-AQ with non XA, but it does not seem to be performing a commit and writing to the queue. If I use XA all the way ut works, but I don't get the desired error handling which I have built. Anything obvious I am missing? 11.1.1.5 SOA

    Hi,
    Under Weblogic JDBC Datasources select the datasource and then select Transaction tab there you can find Use XA datasource interface.
    and In DB adapter ... go to Configuration Tab ---Outbound Connection Pool--- Unhide the pool group -Select JNDI name ( e.g eis/DB/local ) ---enter the JDBC datasource created earlier in weblogic JDBC datasource against xADataSourceName..
    Now Click on Transaction tab & select Transaction Support: as XA Transaction .
    Regards,
    Abhinav Gupta

  • Dynamic SQL in non oracle Data Template

    Hi All
    I am currently working on a project with BI Publisher and we are developing on an OBIEE data source using data templates.
    Does anyone know how to handle dynamic sql &Lexicals when your only data source is OBIEE.
    I have found some code in the help which doesn't seem to work.
    {$ if ${P_COUNTRY} = '*,*' $}
    WHERE "Customers"."Country" in (&P_COUNTRY)
    {$ elsif ${P_COUNTRY} = '*' $}
    WHERE "Customers"."Country" = :P_COUNTRY
    {$ else $}
    {$ endif $}
    Thanks
    Andy

    Hi Andy,
    If you are using Answers as data source, Dynamic query is not possible.

  • Transfer an internal table with non char data type to an application server

    Here is a part of my code. lv_string variable was type string initially but i got an error Not mutually convertible in a Unicode Program. I changed it to type ty_afko. Now the program works but the data it puts out has just a bunch of  #####. I cannot make all value in the internal table type char because then my select statement is giving errors..  Please help...
    Type: BEGIN OF ty_afko,
           rsnum LIKE afko-rsnum,          " Number of reservation
           aprio LIKE afko-aprio,          " Order Priority
           maufnr LIKE afko-maufnr,          " Number of superior order
           lead_aufnr LIKE afko-lead_aufnr,     " Leading order in current processing
         END OF ty_afko.
    data: gt_afko         TYPE STANDARD TABLE OF ty_afko INITIAL SIZE 0,
          wa_afko         TYPE ty_afko,
    select  rsnum aprio maufnr lead_aufnr
    from afko into table gt_afko.
    IF gv_error = 'X'.
      EXIT.
    ELSE.
    <b>DATA: Lv_string type ty_afko.</b>
      loop at gt_afko into wa_afko.
        clear lv_string.
    <b>  move wa_afko to lv_string.</b>
        perform f_transfer_dataset using gc_f_afko lv_string changing gv_error.
      endloop.
    endif.
    FORM f_transfer_dataset USING         p_file
                                          p_data
                            CHANGING      p_error TYPE c.
      Data: lv_file(25) type c.
      CONCATENATE gc_path p_file INTO lv_file.
      TRANSFER p_data TO lv_file.
    ENDFORM.                    "F_TRANSFER_DATASET

    The key is to create another empty structure with fields of type c.
    TYPES:       BEGIN OF ty_resb,
                bdter TYPE RESB-BDTER,     " This field is type d
                bdmng type resb-bdmng,  " This field is type p with 3 decimals - total 14
              END OF ty_resb,
              BEGIN OF ty_resbstr,     " This structure is the same as above but the field types will be char.
               bdter(10),            
               bdmng(14),                
              END OF ty_resbstr.
    DATA:     gt_resb         TYPE STANDARD TABLE OF ty_resb,
              wa_resb         TYPE ty_resb,
           structure type  ty_resbstr. " Empty fields with the same structure as the work area.
    SELECT   bdter bdmng  FROM resb INTO corresponding fields of TABLE gt_resb.
          open dataset pfile for output in text mode encoding default.
          loop at gt_resb into wa_resb.
              clear gv_string.
            move-corresponding wa_resb to gv_string.
             perform f_transfer_dataset using gc_f_resb gv_string.     
            endloop.
         FORM f_transfer_dataset USING p_file p_data.         
           TRANSFER p_data TO lv_file.     
         ENDFORM.

  • Pivoting with non measurement data

    I am BIP 11g newbie and have a problem...
    I have the following data:
    PersonID Attrib_desc Attrib_value
    Ck001 Sex Female
    Ck001 DOB 11/12/2005
    Ck002 Sex Male
    Ck002 DOB 06/06/1970
    and I wish to create a BI Publisher report that looks like this:
    PersonID Sex DOB
    Ck001 Female 11/12/2005
    Ck002 Male 06/06/1970
    I have tried everything and can't work out how to 'pivot' the data when it is not none measurement! And am not allowed to alter data structure in underlying source - can anyone help?!

    Tim Dexter kindly answered this issue for me - see http://blogs.oracle.com/xmlpublisher/entry/tricky_grouping for how to solve this issue. Thanks Tim!

  • Help with displaying spatial data

    Hi, i am new to spatial and have a table (temp_properties) that has numerous columns, one of which is called shape and is of mdsys.sdo_geometry type.
    I also have a table in another database that also has a shape column the same, we cannot seem to use the shape column across the database link as we keep getting 'remote operations not permitted on object tables or user-defined type columns'
    is this a known limitation or is it just the way i am trying to do it?
    We would also like to be able to retrieve the coordinates in sql from this shape column, but keep getting errors.

    Hi,
    before just one question : have you an column wich is called
    se_anno_cad_data in your table with the shape field.
    Spatial Operator :
    For example if you have polygone in your shape field
    you can obtain the centroid of the polygone by this
    query:
    select c.code_topo, c.centroid.sdo_point.x as X, c.centroid.sdo_point.y as Y
    from (select e.code_topo, sdo_geom.sdo_centroid(sdo_geom.sdo_convexhull(e.geom, 0.05), 0.05) as CENTROID
    from expl_local e) c
    with expl_local : my table with the sdo_geometry type field and geom the name of the sdo_geometry field
    sdo_geom.sdo_centroid and sdo_geom.sdo_convexhull are
    spatial operator from Oracle Spatial Option.
    nice to read you
    Pascal

  • Oracle 11g R2, Problem Loading Spatial Data

    We have a geodatabase which has been implemented by oracle spatial. it has been working quite fine since 2 years ago. Recently the data center serving our geodatabase has been upgraded on both software and hardware specifications. The handler application now has difficulty retrieving spatial data. The problem is somehow strange; only some spatial objects are loaded and then application encounters exceptions.
    Previous working database engine was an Oracle 11g R1 and the new one is Oracle 11g R2. The application is a java application mostly written by swing. Here is the stack trace:
    java.sql.SQLRecoverableException: No more data to read from socket
         at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1200)
         at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1155)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:279)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:202)
         at oracle.jdbc.driver.T4CCallableStatement.fetch(T4CCallableStatement.java:1079)
         at oracle.jdbc.driver.OracleResultSetImpl.close_or_fetch_from_next(OracleResultSetImpl.java:369)
         at oracle.jdbc.driver.OracleResultSetImpl.next(OracleResultSetImpl.java:273)
         at ir.mas.aamar.service.map.MapService.getModifiedMap(MapService.java:405)
         at ir.mas.aamar.map.MapPanel.redrawLayers(MapPanel.java:504)
         at ir.mas.aamar.map.LayersTree.onSnapshotDisplayCheckBoxItemChanged(LayersTree.java:420)
         at ir.mas.aamar.map.LayersTree.onMouseReleased(LayersTree.java:204)
         at ir.mas.aamar.map.LayersTree.access$0(LayersTree.java:188)
         at ir.mas.aamar.map.LayersTree$1.mouseReleased(LayersTree.java:170)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    java.sql.SQLRecoverableException: No more data to read from socket
         at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1200)
         at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1155)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:279)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:194)
         at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:853)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1145)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1267)
         at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1469)
         at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:389)
         at ir.mas.aamar.service.map.MapService.executeJDBCQuery(MapService.java:78)
         at ir.mas.aamar.service.map.MapService.getSnapshotsForThisTermPlusHoze(MapService.java:1013)
         at ir.mas.aamar.dialog.edit.EditTools.refreshLayersCombo(EditTools.java:327)
         at ir.mas.aamar.dialog.edit.EditTools.refresh(EditTools.java:301)
         at ir.mas.aamar.dialog.edit.EditTools.<init>(EditTools.java:103)
         at ir.mas.aamar.dialog.edit.EditTools.editTools(EditTools.java:62)
         at ir.mas.aamar.map.MapPanel.paintComponent(MapPanel.java:7591)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintToOffscreen(Unknown Source)
         at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
         at javax.swing.RepaintManager.paint(Unknown Source)
         at javax.swing.JComponent._paintImmediately(Unknown Source)
         at javax.swing.JComponent.paintImmediately(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    java.sql.SQLRecoverableException: Closed Resultset: next
         at oracle.jdbc.driver.OracleResultSetImpl.next(OracleResultSetImpl.java:224)
         at ir.mas.aamar.service.map.MapService.getSnapshotsForThisTermPlusHoze(MapService.java:1014)
         at ir.mas.aamar.dialog.edit.EditTools.refreshLayersCombo(EditTools.java:327)
         at ir.mas.aamar.dialog.edit.EditTools.refresh(EditTools.java:301)
         at ir.mas.aamar.dialog.edit.EditTools.<init>(EditTools.java:103)
         at ir.mas.aamar.dialog.edit.EditTools.editTools(EditTools.java:62)
         at ir.mas.aamar.map.MapPanel.paintComponent(MapPanel.java:7591)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintToOffscreen(Unknown Source)
         at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
         at javax.swing.RepaintManager.paint(Unknown Source)
         at javax.swing.JComponent._paintImmediately(Unknown Source)
         at javax.swing.JComponent.paintImmediately(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
         at ir.mas.aamar.dialog.edit.EditTools.setTypeOfEditModel(EditTools.java:452)
         at ir.mas.aamar.dialog.edit.EditTools.<init>(EditTools.java:104)
         at ir.mas.aamar.dialog.edit.EditTools.editTools(EditTools.java:62)
         at ir.mas.aamar.map.MapPanel.paintComponent(MapPanel.java:7591)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintToOffscreen(Unknown Source)
         at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
         at javax.swing.RepaintManager.paint(Unknown Source)
         at javax.swing.JComponent._paintImmediately(Unknown Source)
         at javax.swing.JComponent.paintImmediately(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    I read in some forums that the problem could be caused by jdbc version incompatibility, so I just copied jdbc archives from the installed oracle 11g R2 jdbc folder but the problem persists. Last thing I should mention is that only spatial data is problemistic and non-spatial data is easily loaded.
    Please Help, Thanks.

    Hi storm,
    During the installation of oracle as you said if you have given the global password, basically this specific password will reflect to users such as
    -sys
    -system
    -dbsnmp
    -sysman
    As you are new to oracle the basics that you should know is that "SYS" user is the highly privileged user in Oracle and should be logged in as "sys as sysdba" with his respective password (i.e. the global password that you have entered during database installation) to obtain his privilege. Remember to manipulate your database with caution when you are logged in as the sys user. You can log into the database using the sys user in the following way:
    c\> sqlplus sys as sysdba
    password: ****** --It will ask you for the password and you will have to give the global password that was given during installation
    Hope this helps!!!
    Regards,

  • Spatial data replication

    Hi
    Is it right place to ask regarding oracle spacial data replication using goldengate? I posted message goldengate thread but now one is replying to that...

    Hi,
    A few tips for getting useful responses on these forums:
    - Give yourself a better name on OTN. User "931643" isn't great.
    - Give your post a meaningful title such as "Spatial data replication using GoldenGate". Your post (Re:goldengate error over on the Goldengate forum had a subject of "goldengate error". That doesn't say much about your particular question.
    - For this post on the Spatial forum - how about some more background information? What versions of the products? What exactly are you trying to do? What is not working? What error messages? Do you have a test case that somebody could easily reproduce? Have you got the replication working for non Spatial data types?
    I've never used Goldengate so won't be able to help much, and I suspect your best bet of a useful response is on the Goldengate forums.
    Have you checked the Goldengate documenation?
    The "Oracle GoldenGate Oracle Installation and Setup Guide" is available on http://docs.oracle.com/cd/E35209_01/doc.1121/e29797.pdf
    This says: Oracle GoldenGate supports SDO_GEOMETRY, SDO_TOPO_GEOMETRY, and SDO_GEORASTER (raster tables).So that looks promising, but check if that is the case for the Goldengate version your are on.
    Check the following My Oracle Support articles:
    "Does GoldenGate Extract Support Oracle Spatial?" [ID 971719.1]
    "Extract Abend With OGG-00746 Error (100, no Data Found) Selecting Data in CheckForSynonym For Table With Column Type SDO_GEOMETRY" [ID 1382906.1]
    John

  • Is it possible to upload non-numeric data into Planning from ODI?

    Dear All,
    I have problem to upload non-numeric data into planning?
    Regards,
    Thomas

    I am not sure what that has to do with non-numeric data and planning.
    If you want to move your ODI environment then have a look at this post :- Re: move full ODI environment to another Machine...
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Migrate Spatial data to another instance

    i intend to port Oracle Spatial to another instance and get stucked.
    1. can not export/transfer sdo_geom_metadata_table from mdsys
    Try exp on mdsys, Oracle complains invalid username....
    Try database link, Oracle complains about remote access of user-defined datatype...
    2. when import Oracle Spatial data to another instance, most of the indexes failed to be created.
    Not just spatial indexes, even some indexes on attributes are not created.
    Is it caused by (1) ?
    jc

    James,
    If you export the schema with the spatial data in it the export file contains also the registration for the metadata .
    The failing of the creation of the indexes most likely occurs by the fact the tablespace name of the original database is different from the target database.
    You can with the import utility create a indexfile. This file contains all the index create commands. In this file you can correct the tablespace name.
    Jurgen

  • How to maintain dynamic rows with data when click on Previous button?

    Hi,
    I have 1 aspx page and divided into 3 pages using panels.Each panel has "Next" and Previous buttons
    I have created and deleted dynamic table rows when click on Add button using javascript. whenever i click on Next button it will navigate to same page of next panel.
    when i click on previous button then it goes to previous panel but whatever i have added dynamic table rows in 1st panel that got removed.
    Can u please help me for how to maintain state of dynamic table rows with entered data when click on Previous button?
    How to get dynamic table rows with entered data in previous panel when click on Previous button?
    Please find the below javascript code:
    function insertRow() {
    if (index >= 2) {
    document.getElementById('deleteRow').style.display = "inline";
    else { document.getElementById('DeleteRow').style.display = "none"; }
    var table = document.getElementById("myTable");
    var row = table.insertRow(table.rows.length);
    cell1 = row.insertCell(0);
    t1 = document.createElement("select");
    t1.options[t1.options.length] = new Option('--Select--', '0');
    t1.id = "ddlYear" + index;
    cell1.appendChild(t1);
    for (var i = 1975; i <= 2015; i++) {
    opt = document.createElement("option");
    opt.value = i;
    opt.text = i;
    t1.add(opt);
    t1.style.width = "155px";
    var cell2 = row.insertCell(1);
    t2 = document.createElement("Select");
    t2.options[t2.options.length]=new Option('--Select--','0');
    t2.options[t2.options.length]=new Option('State Board','1');
    t2.options[t2.options.length]=new Option('CBSE','2');
    t2.options[t2.options.length]=new Option('ICSE','3');
    t2.options[t2.options.length] = new Option('Others', '4');
    t2.style.width = "155px";
    t2.id = "ddlCourse" + index;
    cell2.appendChild(t2);
    var cell3 = row.insertCell(2);
    t3 = document.createElement("input");
    t3.id = "txtCity" + index;
    cell3.appendChild(t3);
    var cell4 = row.insertCell(3);
    t4 = document.createElement("input");
    t4.id = "txtInstitute" + index;
    cell4.appendChild(t4);
    var cell5 = row.insertCell(4);
    t5 = document.createElement("Select");
    t5.options[t5.options.length] = new Option('--Select--', '0');
    t5.options[t5.options.length] = new Option('English', '1');
    t5.options[t5.options.length] = new Option('Hindi', '2');
    t5.options[t5.options.length] = new Option('Telugu', '3');
    t5.options[t5.options.length] = new Option('Others', '4');
    t5.style.width = "155px";
    t5.id = "ddlMedium" + index;
    cell5.appendChild(t5);
    var cell6 = row.insertCell(5);
    t6 = document.createElement("input");
    t6.id = "txtSpecialization" + index;
    cell6.appendChild(t6);
    var cell7 = row.insertCell(6);
    t7 = document.createElement("input");
    t7.id = "txtFnl" + index;
    cell7.appendChild(t7);
    index++;
    function DeleteRow(index) {
    var table = document.getElementById("myTable");
    table.deleteRow(index);
    // if (index = 2) { alert("There is no rows added.Please add the new row"); }
    Design:
    <tr style="font-size: 12pt" id="trSecond" runat="server">
    <td colspan="3">
    <table id="myTable" width="100%" border="0">
    </table>
    <tr>
    <td colspan="3" align="right">
    <input type="button" title="Add" value="Add" onclick="insertRow();" />
    <input type="button" id="deleteRow" title="Delete" value="Delete Row" onclick="DeleteRow(this);" style="display:none" />
    </td>
    </tr>
    Thank you.

    Put the button click into an action listener and build the new frame there. The code I have below isn't exactly what you're doing (it's amazingly oversimplified), but it's probably similar enough to get your wheels turning in the right direction.
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class sample
         public static void main(String[] args)
              JFrame frame = new JFrame("Sample");
              frame.setSize(400,400);
              Container content = frame.getContentPane();
              content.setLayout(new FlowLayout());
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              final JTextField text = new JTextField(10);
              content.add(text);
              JButton button = new JButton("Send");
              content.add(button);
              frame.setVisible(true);
              button.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                        JFrame myframe = new JFrame("Results");
                        myframe.setSize(200,200);
                        Container mycontent = myframe.getContentPane();
                        mycontent.setLayout(new FlowLayout());
                        String mytext = text.getText();
                        JLabel label = new JLabel();
                        label.setText(String.valueOf(mytext));
                        mycontent.add(label);
                        myframe.setVisible(true);
    }

Maybe you are looking for