Oracle Spatial 10g R2 Java API

Hi All,
I have a JAVA tool said to be written for Oracle Spatial 10g R2 Java API which uses for example the class oracle.spatial.georaster.JGeoRaster. I have to port it to 11g R2. The tool is definitely written for an earlier version, because compilation fails on for example JGeoRaster.getProperties() method which is not present in the new API. For this new API I have a fine Javadoc documentation here:
http://download-llnw.oracle.com/docs/html/E11829_01/
I have searched for a similar one for 10g R2 but found only like
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14373/toc.htm
which misses the oracle.spatial.georaster package. Is there such a package and if so, where can I find docs for it?
thank you in advance, best regards: Balázs Bámer

Hi Balázs,
the GeoRaster Java API was first released with 11gR2. Your first link points to that, or this link:
http://download.oracle.com/docs/cd/E11882_01/appdev.112/e11829/toc.htm
your second link points to 10g Oracle Spatial Java API, which doesn't include any GeoRaster related API. your tool might have been developed based on the old INTERNAL georaster jar file, which is not supposed to be used by your java program. But if you do want the api doc, you can run javadoc or jdeveloper to find out the api from the old sdogr.jar file.
jeffrey

Similar Messages

  • Oracle 9i, 10g 에서 트리거가 존재하는지 JDBC나 java api  에서 알아오는 방법이 있는지요?

    trigger 가 살아있는지 정상 동작하는지 알아오는 방법이 있나요?
    java 에서 점검할수있는 방법을 아시면 알려주십시요.

    user10220713 wrote:
    trigger 가 살아있는지 정상 동작하는지 알아오는 방법이 있나요?
    java 에서 점검할수있는 방법을 아시면 알려주십시요.
    (0) db user의 해당 object (trigger 포함)의 점검 방법
    SQL> select OBJECT_NAME, STATUS, OBJECT_TYPE from user_objects where object_type='TRIGGER' and object_name = 'TARGETS_INSERT_TRIGGER';
    OBJECT_NAME STATUS OBJECT_TYPE
    ================= ====== ==========
    TARGETS_INSERT_TRIGGER VALID TRIGGER
    (1) 조회 조건
    1. 점검 Object명(name) : TARGETS_INSERT_TRIGGER
    2. 점검 Object tyoe(trigger): TRIGGER
    위의 예에서 보시듯이 "TARGETS_INSERT_TRIGGER" 라는 Trigger가 정상적인 확인하고 있습니다.
    위의 STATUS의 상태가 VALID라면 정상적으로 구동중이라고판단하시면 됩니다.
    문제가 있을때에는 INVALID라고 표시됩니다.

  • Training  $ book on oracle spatial 10g

    I want some book refefence regarding oracle spatial 10g.
    Suggest me if there any training program on same .
    how i can get the training .
    with regards
    saleem khan

    There are some books in the docu library: http://otn.oracle.com/pls/db10g/db10g.homepage
    Oracle University has courses on Oracle (surprise, surprise)
    http://www.oracle.com/education/index.html

  • Oracle InterConnect 10g dba + Java

    Hello :-)
    I'm searching information about OAI. I need to know if the client apllication, which is using the dba connector to Oracle can be written in Java.
    Other way - Is there Java API for client dba connector for ORacle InterConnect 10g?
    I'll be gratefull for an information or URL's :-)

    Have you ever installed Oracle Interconnect Hub10g?On what database version?I have tried to install Interconnect Hub 10g on 9.2.0.5 DB and get a bug with postinstallation script hubschema.bat-calling dbms_aqadm.create_queue_table and get error. Entry from alert.log- Errors in file /app/oracle/product/9.2.0/rdbms/log/demo_ora_3231.trc: ORA-07445: exception encountered: core dump [0000000000000000] [SIGSEGV] [Invalid permissions for mapped object] [0x000000000] [] []. What configuration in your working environment(if its no a secret)?

  • How to read a Value from Excel Cell into Oracle Forms 10g with Java

    Did any one Implamented a Java PJC to integrate Excel on Oracle Forms 10g?
    I Open Excel Applikation.
    Open a File like c:\import_test.xls
    read a number 05 from A:1 (i get it as return value).
    Save a number in a variable in Forms 10g
    Can any one help my please?
    Thanks

    why don't you use webutil.
    it has package client_ole2 which allows you to have programmatic interface with excel application.
    this is especially useful if the excel to be read is available in the client.

  • Problem when connecting locally to Oracle Database 10g from Java code

    Good afternoon,
    I try to connect to my local Oracle 10g from JAVA code. Could somebody tells me what are the 'values' to enter in place of 'value1, value2, value3' in the following:
    final String connectionURLThin = "jdbc:oracle:thin:@value1:value2:value3";
    I tried to put my 'user' and 'pw' credentials I used when connecting with SQL*PLUS:
    value1=my_user_name
    value2=my_pw
    value3=my_schema
    but it doest work. Besides where could have I to put the 'WORKSPACE" name?
    Thanks for any help.
    Claude
    Details:
    ERR MESSAGE----------------------
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/dms/instrument/ExecutionContextForJDBC
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:365)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:854)
    at java.sql.DriverManager.getConnection(DriverManager.java:620)
    at java.sql.DriverManager.getConnection(DriverManager.java:200)
    at javaapplication6.ConnectionExample.driverManager(ConnectionExample.java:138)
    at javaapplication6.Main.main(Main.java:36)
    Caused by: java.lang.ClassNotFoundException: oracle.dms.instrument.ExecutionContextForJDBC
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
    ... 8 more
    Java Result: 1
    BUILD SUCCESSFUL (total time: 0 seconds)
    ---------------------ERR MESSAGE
    JAVA code------------------it compiles but throw an error when running there -> (*)...
    final String driverClass = "oracle.jdbc.driver.OracleDriver";
    final String connectionURLThin = "jdbc:oracle:thin:@jeffreyh3:1521:CUSTDB";
    final String userID = "scott";
    final String userPassword = "tiger";
    final String queryString = "SELECT" +
    " user " +
    " , TO_CHAR(sysdate, 'DD-MON-YYYY HH24:MI:SS') " +
    "FROM dual";
    public void driverManager() {
    Connection con = null;
    Statement stmt = null;
    ResultSet rset = null;
    try {
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con = DriverManager.getConnection(connectionURLThin, userID, userPassword); // (*) prob here
    stmt = con.createStatement ();
    rset = stmt.executeQuery(queryString);
    rset.close();
    stmt.close();
    } catch (SQLException e) {e.printStackTrace();
    --------------------JAVA JDK 1.6
    My system ------------------------
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production

    Yes, the network connection could not be established. Like the error said.
    What you're asking about is the exact reason, but that could be any number of things and not at all related to code. You could have the wrong host, the wrong port. A firewall could be blocking the outgoing connection, a firewall could be blocking the incoming connection. Etc. etc.

  • Oracle Spatial 10g

    Hello all
    I would like to know if is it possible to install the 10g Spatial functionality in a previous version of the database (8.1.7).
    We want to work with Oracle Spatial + ArcSDE (with versioning and Spatial as Geometry Storage) + ArcGIS-ArcIMS, but the editing software will be AutoCAD.
    We will get from the database those elements whe want to edit and put it then in AutoCAD layers . To limit the traffic, we only need the geographic primitives (points and arc, but no polygons), but as we are editing polygons, we need a process that rebuild topology. I think that the new Oracle Spatial 10 g topological functionalities could help us (so we can insert arcs in a table and get the polygons they are building, and dangle arcs).
    I suppose it will not be possible to edit directly to the geodatabase feature class if it is versioned (so all the changes will appear as consolidated), but, is it possible (and of course, easy) to rebuild via SQL an ArcSDE version?
    And finally:
    Can (and how) we use Oracle WorkSpace Manager whit ArcSDE??? , and only with AutoCAD? Any experience? I´m thinking about spatial index and mdsys metadata table. Must be these tables registered as "versioned" with Oracle WorkSpace Manager to work with spatial data?
    Thank you for all
    Jesús de Diego

    Hello all again
    First of all, thank you for your quick reply.
    I can explain a bit more what we wanna do:
    we're in a multi-platform environ. We've ArcGIS users, AutoCAD users and a ArcSDE DB. We don't want AutoCAD users to migrate to ArcEditor, but they need to edit corporative (DB) data, and, in the other hand, there will be others editors using ArcEditor capabilities, so it is possible we will need versioned (ArcSDE) data.
    I think we can edit an ArcSDE version vía AutoCAD:
    1º Data storage will be Oracle Spatial.
    2º A new version over the default will be created.
    3º When an AutoCAD editor request spatial data, we can, vía SQL, get the sdo_geometry (here is when i need to rebuild a complete version....)
    4º We load these spatial data into diferents layer in a dwg (in we can get only the geographic primitives, this will be faster)
    5º CAD users edit the information and when they finish, load arc and points (lables) into 2 temporal tables, when arcCatalog can rebild polygon topology ....
    6º Once polygons have been rebuilded, can be sended to AutoCAD again so Oracle Spatial SQL queries can be used in AutoCAD against the DB.
    7º Finally, could we insert the new records into A and D tables?, and how? using simply SQL (again we need to rebuild a version....)
    I'm all ears.......
    Thank you again
    Jesús de Diego

  • Is there an Oracle forms services trace java api

    Hi All,
    Is there a java api to use Oracle Trace on a running oracle form. I see that when I run the Oracle trace here it gets the correct item names. I want to be able to custom make my own trace files useing the oracle trace mechanism as a base. Is there a java api to develop our own forms trace?
    Thanks,
    Mia

    Erik wrote:
    Hi.
    Jdeveloper 11.1.1.2
    Is there a way in ADF to populate extra read-only text-columns in an af:table (based on a ViewObject) as was possible in Oracle Forms with a Post-Query-Trigger:
    Post-Query
    Perform an action after fetching a record, such as looking up values in other tables based on a value in the current record.
    Fires once for each record fetched into the block.
    Best regards
    ErikHi,
    http://docs.oracle.com/cd/E15523_01/web.1111/b31974/appendix_formstriggers.htm#sm0350

  • Error message when listing activities with Oracle BPEL Control and Java API

    I'm implementing some BPEL processes in an Oracle Application server 10.1.3.3 environment.
    I use the Oracle BPEL Process Manager Client Java API to access some BPEL instances but when I want to list their activities with IInstanceHandle.listActivities() (I've tested the IInstanceHandle and it contains an open process instance) I receive the following error message:
    "Activity error:ORABPEL-04003 Cannot find work items. An attempt to fetch the work items using the where condition "cikey = ? AND ( wi_state = 1 OR wi_state = 2 OR wi_state = 3 ) " from the datastore has failed. The exception reported is: [ODBC S1002] invalid column number Please check that the machine hosting the datasource is physically connected to the network. Otherwise, check that the datasource connection parameters (user/password) is currently valid. sql statement: SELECT * FROM admin_list_wi WHERE ci_domain_ref = 0 AND cikey = ? AND ( wi_state = 1 OR wi_state = 2 OR wi_state = 3 )"
    When I try to use the BPEL control to list the activities I also receive an error, which I think is related:
    "[javax.servlet.ServletException]
    Cannot find work items.
    An attempt to fetch the work items using the where condition "" from the datastore has failed. The exception reported is: [ODBC S1002] invalid column number
    Please check that the machine hosting the datasource is physically connected to the network. Otherwise, check that the datasource connection parameters (user/password) is currently valid.
    sql statement: SELECT * FROM admin_list_wi WHERE ci_domain_ref = 0 ORDER BY wi_modify_date desc"
    Has anyone found a solution to this error? There are a couple of developers in our team that has the same problem and also have a similar problem when trying to purge instances from the BPEL control. The problem started when we patched to 10.1.3.3.

    When you upgraded to 10.1.3.3 did you run the SQL scripts that modified the SOA suite schemas?
    SOA_ORACLE_HOME/bpel/system/database/scripts/upgrade_10131_10133_oracle.sql
    cheers
    James

  • Oracle Forms 10G and Java 7 ?

    So, as of 13 February 2013 (https://blogs.oracle.com/java/entry/end_of_public_updates_for) there will be no more updates for Java 6. So does that mean that Oracle Forms 10g (which as far as I know only supports Java 6) applications will have to upgraded to Forms 11g to keep up with the Java updates? So if you are running Forms 10g on OAS (Oracle Application Server) does that mean also an upgrade from OAS to Weblogic?

    Looks like there may be an update to fix this issue:
    Patch 14825718
    Description      ORACLE FORMS BUNDLE PATCH 10.1.2.3.2
    Product      Developer Forms
    Release      iAS 10.1.2.3
    Last Updated      07-JAN-2013
    From the README for 14825718
    # 11782681 - APPS6 FORMS DO NOT LAUNCH WITH BETA JRE 1.7I found the above information starting here:
    Re: Java 1.6 and 1.7 on same computer, which references this: FRM-92095: Oracle Jnitiator version too low
    Here's a workaround which is supposed to work without installing the patch, but I haven't had time to try it:
    The "Frm-92095" link above also mentions the -Djava.vendor fix but doesn't show the following steps.
    After installing Java 7, open file manager and go to the directory below, double-click on this file:
    C:\Program Files (x86)\Java\jre7\bin\javacpl.exeThis opens a "Java Control Panel" window.
    Click the Java tab, then the View... button.
    This should open a Java Runtime Environment Settings window with two tabs: User and System.
    On each tab, under Runtime Parameters, enter:
    -Djava.vendor="Sun Microsystems Inc."The place I saw these instructions claim it works in IE9, Firefox 18.0.2, and Chrome 24.0.1312.57
    I have not had time to try yet.

  • ADC Worldmap v5.1 now available in Oracle Spatial 10G format..

    Check out www.adcworldmap.com, full world coverage.
    Detail rich layers can be turned on or off according to priority and zoom levels making ADC WorldMap Version 5.1 and ideal product for a variety of international applications.
    * Administrative Boundaries - National and Sub-National Boundaries for the entire world (including states, provinces, districts, regions, etc.)
    * Airports - including Airport Codes
    * Capitals of the World
    * Cities, Towns, Villages - with Population (if known)
    * Railroads - Track, Stations and Yards
    * Roads - Motorways, Primary Routes, Important Routes, Main Routes and Other Routes
    * Plus Many More Layers! ...
    pricing info on page.

    OOOOps...
    Product in testing phase right now, availability in Oracle Spatial format soon.
    I will announce when ADCI informs us.
    thanks
    Steve

  • How to restart a java process in Oracle AS 10g

    Hi
    In Oracle AS 10g, the java process consumes 50% cpu resource due to the report invoked by a user. Now I need to restart the java back ground process?, please reply me with the syntax or with examples.
    ps -eaf
    CPU PROCESS
    50% /ORACLE_HOME/jdk/jre/bin/java -server -cp /report/oracle
    Thanks in advance
    Bala

    The copy method being using is unsupported, hence the target Portal would be in an unsupported state.
    This is unsupported as per the following note:
    Note 333867.1 - Portal Export and Import Utility Supportability Scenarios :
    Copy operations after an object is renamed:
    Exporting and importing a page group, then renaming the page group on the target system (to create a copy) and repeating the export and import operation.
    OR:
    Exporting and importing a page group, then renaming the same in source or target and repeating the export and import operation.
    Not supported.
    Please do not rename objects if you plan to perform export and import operations.
    Note: The display name can be changed, but internal name change is considered a renaming operation.
    In 10.1.4, renaming is supported, but renaming page group and pages with the intention of copying them is not supported..."

  • Creating an Oracle Spatial database in 10g and connecting ArcGIS

    I have a set of shapefiles that I want to convert into Oracle Spatial 10g and then be able to view these with the capability of ArcGIS 9 (without using ArcSDE).
    From what I've read, I think this could be done by using ODBC. Once that connection is made, will I then be able to use the full functionality of ArcGIS especially read/write functions to edit the information in Oracle Spatial?
    What data formats does Oracle Spatial in 10g support. I am concerned about raster data, CAD data, Survey data etc

    The shape files can be loaded into Oracle spatial using shp2sdo.exe available on web.To view the GIS data in ArcGIS ,ArcGIS needs the layers to be registered.Therefore you need Arcsde for registering the layers.But for viewing the data in Arcgis we do not need arcsde ,we can view the data using direct connect.For editing the data we can use ODBC connection.
    About raster data,we can load tiff,jpeg,bmp,png,gif using georaster tools provided by oracle into georaster tables.
    Thanks
    PC Rao

  • Regarding  working with oracle spatial database connections

    sir/madem,
    i am an engg student, my final year project on inserting data into oracle spatial database through java /jsp , i am working with oracle spatial database 10g/11g,
    i want know how to insert/retrive/ manuplute the spatial data into oracle spatial databse for 10g/11g, through java programing,
    the syntax for connection of oracle spatial database 10g/11g, needed,
    i have less time to finish my project
    i hope u  help me
    thank u
    kasim
    ([[email protected]|mailto:[email protected]])

    For database access from Java, you will use JDBC.
    For the specifics of the oracle spatial database, you'll have to check the documentation/forum of Oracle.
    * [How To Ask Questions The Smart Way|http://www.catb.org/~esr/faqs/smart-questions.html]
    * [JDBC Tutorial|http://java.sun.com/docs/books/tutorial/jdbc/index.html]

  • Regarding working  oracle spatial database programing

    sir/madem,
    i am an engg student, my final year project on inserting data into oracle spatial database through java /jsp , i am working with oracle spatial database 10g/11g,
    i want know how to insert/retrive/ manuplute the spatial data into oracle spatial databse for 10g/11g, through java programing,
    the syntax for connection of oracle spatial database 10g/11g, needed,
    i have less time to finish my project
    i hope u help me
    thank u
    kasim
    ([email protected])

    For database access from Java, you will use JDBC.
    For the specifics of the oracle spatial database, you'll have to check the documentation/forum of Oracle.
    * [How To Ask Questions The Smart Way|http://www.catb.org/~esr/faqs/smart-questions.html]
    * [JDBC Tutorial|http://java.sun.com/docs/books/tutorial/jdbc/index.html]

Maybe you are looking for

  • IDvd - Onestep dvd from movie, not working?

    I am trying to make a onestep dvd from movie - from an avi file... but every time I make one (I followed all the directions perfectly). It looks like it is burning and takes about 4  hrs. but nothing happens. it just says I have inserted a blank dvd.

  • I deleted my SMTP server - How do I find it?

    I was having difficulties in sending emails - I was getting the error message: Cannot send message using the server smtp.xxxxxx In a moment of madness when trying to fix this - I went into the mail preferences and deleted this server. How do I get it

  • AA318 Posting complete retirement not poss.with value date...

    Hi, please I need your help... I get this error: Posting complete retirement not poss.with value date 31.12.2011 Message no. AA318 I have an asset that has values in the year 2012, but I reversed all of them. It´s necessary to transfer the asset to a

  • Multiple VLAN?

    Hi all, I'm not familiar with Cisco new AP and have a question for all. Is it possible to have one access point authenticate domain users on one vlan and then outside users on another vlan without authentication? For example, if i am as a domain user

  • K9copy issues ripping

    After some use and ripping in the past using k9copy it's come to the present day that for some reason i ripping doesn't seems to work "right" After tryign to rip some personal dvds (marriages,baptisms, holidays) it seems that i have some issue when i