Java Class Library (SDOAPI)

Greetings,
Using Oracle Spatial Java Class Library (SDOAPI) GeometryAdapter.importGeometry method on the following geometry causes a InvalidGeometryException to be thrown.
SDO_GEOMETRY(3001, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 0, 6000, 4, 1, 1),
SDO_ORDINATE_ARRAY(27.3384, 81.4328, 0, 587581.22, 4789617.17, 0))
This geometry appears to be valid according to the SDO_GEOM.VALIDATE_LAYER and SDO_GEOM.VALIDATE_GEOMETRY functions.
How can this geometry be read using the SDOAPI?
Thanks,
Jeff

Daniel,
Thank you for the prompt response and valuable information. My registration contains my accurate e-mail address. Please notify as soon this bug fix is available.
Thank You,
Jeff

Similar Messages

  • Set image path in java class library

    Hi,
    I created a java class library project and made .jar file. My java class library contains .jpg files in separete folder named as Images. My .jar file contains list of classes and image folder also but when i am using .jar file in applet. java class library is working but images are not shown. Let me know how to create imageicon to show images also in the class library

    ImageIcon icon = new ImageIcon(getClass().getResource(path-to-file));

  • Java class library method definition is visible in debugging!!!!!

    I create a jar by using java class library project option, and when i am using it in other project, it is displaying all code inside the library, i implement security inside the java library, it contains some key ...... is there any way to hide the code? or how to hide my logic when i submit it to client...
    is there any tool for this or is there are any technique to create a dll like microsoft supply.

    rohit pathak wrote:
    thanks for your time gimbal2 ,
    I tested it and it is working fine, i choose the option
    Exclude from jar file - **/*.java
    and its worked out.could you tell me about security of this class library (.jar file) ? Although i used required code { code which omit .java file during packaging } , is this is secure? or we can get the code { key in my case } from .jar file by any java tool.As you have already noticed through your other thread - yes you can.
    how to secure code in java..

  • Java Class Library

    What's the online Java Class Library reference site?
    I swore it was on this Java.sun.com site, but I can't seem to locate it again.
    Thanks,
    MB

    Are you looking for http://java.sun.com/j2se/1.3/docs/api/index.html by any chance ?

  • Oracle Spatial Java Class Library Download?

    Hello,
    where can I download the Oracle Spatial Java Class Library? I installed OracleXE which can handle SDO_GEOMETRY types and now need the java library for programming against the database.
    greetings
    Peter

    If you mean by samples that show you how to manipulate Geometry types than you can find this tutorial using java and connecting to your DB via Oracle Spatial Network Data Model (NDM) https://spatial.samplecode.oracle.com/servlets/ProjectProcess?pageID=0Zl7oV
    My personal experience, it would be good idea to have oracle 11g Release 2 installed.
    It shows you different ways to query spatial data. You might also be interested in this documentation on oracle Topology and NDM Developers guide: http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28399.pdf

  • [Q] Oracle Spatial Java Class Library: classes missing ?

    Hello !
    We are using Oracle 9.2.0.4 with Spatial features and we'd like to use the Java Library to get access to the object Geometries. We have downloaded the Spatial Java Library at:
    http://www.oracle.com/technology/software/products/spatial/index.html
    The "sdo_java_040319.zip" file contains "sdoutl.jar", "sdotopo.jar, "sdonm.jar" and "sdoapi.jar". *BUT* "sdoapi.jar" only contains the "oracle.spatial.geometry.JGeometry" class !
    Nothing about the "oracle.sdoapi.*",
    "oracle.sdoapi.geom", "oracle.sdoapi.adapter", ...
    "oracle.sdoapi.sref" !
    Where are they ?
    Thank you for your replies

    The JGeometry class is it.
    It's all you need with the new, supported sdoapi.
    The javadoc for JGeometry has an example of its usage.

  • Location of Oracle Spatial Java Class Library

    Hello All,
    I'm looking for this library and there seems to be no link for it on the download page (http://www.oracle.com/technology/software/products/spatial/index.html). Can someone please help me?
    Thanks!
    --john                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    there is a "jlib" directory under each db component. the oracle spatial Java API is under $ORACLE_HOME/md/jlib.

  • TableFilter and TableSorter Java Classes

    Does anybody has link to TableFilter and TableSorter java classes for CE 7.11 Tables?
    Thanks

    Hi Michael Vstling,
    Did you try the java classes library (SDOAPI) that can be downloaded from OTN?
    It may provide you with a better alternative when manipulating geometries in the Java space. There is an adapter in SDOAPI which can convert a JDBC STRUCT object into Java Geometry object defined in SDOAPI, and vice versa.
    There are at least two ways in mixing PL/SQL and Java. The first one, as you mentioned, is to define your custom function in terms of PL/SQL and call it from within your Java program. With SDOAPI, you have the second option, which is to define your own functions in Java using SDOAPI and deploy them as Java stored procedures in db. You can then call them from within your PL/SQL code. In either way performance depends on a lot of things and generally it requires a "try and improve" approach.
    About JPublisher and sdo_ordinate_array it may not be a spatial related problem. Did you try search the Java-related forums first?
    LJ

  • Not found sdoapi java classes

    I just reinstalled Oracle9i with patch, because I wasn't able to create spatial index (that's the short explanation for reinstalling oracle).
    ERROR: Critical Java class not found: oracle.sdoapi.util.SDODimElement
    ERROR: Critical Java class not found: oracle.sdoapi.adapter.SDOGeometry
    ERROR: Critical Java class not found: oracle.sdoapi.adapter.GeometryAdapter
    How to fix these errors?
    many thanks!
    Rebecca

    Siva,
    I got the error when I tried to create a project connecting to Oracle Spatial with MicroStation GeoGraphics. Here's the entire message I got:
    ERROR: Critical Java class not found: oracle.sdoapi.util.SDODimElement
    ERROR: Critical Java class not found: oracle.sdoapi.adapter.SDOGeometry
    ERROR: Critical Java class not found:
    oracle.sdoapi.adapter.GeometryAdapter
    Current Classpath
    C:\Program Files\Bentley\Program\MicroStation\jmdl\lib\rt.jar
    C:\Program Files\Bentley\Program\MicroStation\jmdl\lib\i18n.jar
    C:\Program Files\Bentley\Program\MicroStation\jmdl\lib\sunrsasign.jar
    C:\Program Files\Bentley\Program\MicroStation\jmdl\classes
    C:\Program Files\Bentley\Program\MicroStation\jmdl\lib\jmdlsdk.jar
    C:\Program Files\Bentley\Program\MicroStation\jmdl\lib\swingall.jar <<<
    not found >>>
    C:\Program Files\Bentley\Program\MicroStation\jmdl\lib\bentley.jar
    C:\Program Files\Bentley\Program\MicroStation\jmdl\lib\bentleyx.jar
    C:\Program Files\Bentley\Program\MicroStation\jmdl\lib\xml4j.jar <<< not
    found >>>
    C:\Program Files\Bentley\Program\MicroStation\jmdl\
    C:\Program Files\Bentley\Program\GeoGraphics\jmdl\lib\bentleygeo.jar
    C:\Program Files\Bentley\Program\GeoGraphics\jmdl\
    C:\Program Files\Bentley\program\GeoGraphics\jmdl\lib\sdodgn.jar
    C:\oracle9\ora92\sdoapi\sdoapi.zip
    C:\oracle9\ora92\jdbc\lib\classes12.zip
    C:\oracle9\ora92\lib\xmlparserv2.jar
    C:\oracle9\ora92\jdbc\lib\nls_charset12.zip
    C:\Program Files\Bentley\Program\GeoGraphics\jmdl\lib\spatialviewer.jar
    I found the sdoapi.zip, but it doesn't have the three java classes in it. Can I download the java classes somewhere and place it back to that directory?
    thanks again!
    Rebecca

  • Java RFC Class Library

    Hi,
    I'm an SAP programmer (not a Basis person).  I want to write a Java application (using Eclipse) that has to communicate with SAP backend system.  Where can I find Java RFC Class Library to install on my laptop?  I have SAP Frontend installed on my laptop.  Will I find it under SAP Frontend folder?  OR can it be downloaded from a website?
    Thanks

    Try this link....  This is for the JCo adapter - SAP Java Connector is only available from SAP for connecting Java Applications to SAP systems.
    https://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000463649
    Or see OSS Note: http://service.sap.com/~form/handler?_APP=01100107900000000342&_EVENT=DISPL_TXT&_NNUM=413708/
    /people/sap.user72/blog/2005/12/27/first-eclipse-plug-in-for-xi
    http://sourceforge.net/projects/xi-plugins-sdn
    http://weblog.cemper.com/a/200309/25-sap2java-generator-eclipse-plugin.php
    http://eclipsesap2java.sourceforge.net/
    Message was edited by: Barry Neaves - added links to Eclipse plug-in and information.

  • Java SSF Library - interface  ISsfData and class SsfDataXML

    Hello all,
    Can anybody tell me in which Java library I can find the interface ISsfData and class SsfDataXML used in the following example (see link)?
    http://help.sap.com/saphelp_nw70/helpdata/EN/a4/d0201854fb6a4cb9545892b49d4851/frameset.htm
    Which JAR file(s) contain these libraries?  It is described as the Java SSF Library...
    I would like to copy this file locally and add it as an External Library to an Eclipse project.
    Many thanks,
    Aldo

    Hi Aldo,
    The java packages where this classes and interfaces are implemented are:
    - com.sap.security.api.ssf
    - com.sap.security.core.server.ssf
    You can find this in the jar file tc_sec_ssf.jar.
    Also look the following SAP Help link [Secure Store and Forward Mechanism (SSF)|http://help.sap.com/saphelp_nw2004s/helpdata/en/4d/bf6f77a2c5446a86e0152f1b309db6/frameset.htm]
    Please reward if helpful.
    Regards
    Alexandre

  • I need the Java IDoc Class Library

    Hi,
    I'm desperately looking for the Java IDoc Class Library. What for? I'm doing a project for university and I have a test version running on my own computer (Mini WAS 6.20 with the FlightBooking example installed). The SAP Service Marketplace is for registered customers only. Since I only have a test environment (mentioned above) I can't register there and download it.
    Could anyone please send me this library by mail, to [email protected] Since I don't know how big this package is: my mail provider has a 15MB/per single mail limit. If biiger, please split.
    Yes, I'm asking for much. But I'm pretty desperate and I have to get going, since I'm running out of time.
    If there are other ways to get this library, please tell.
    Thanks
    Jonny

    Hi Johannes
    The SAP Java IDoc Class Library consists of two parts, the SAP Java Base IDoc Class Library and the SAP Java Connector IDoc Class Library. The SAP Java Base IDoc Class Library provides an API which helps navigating, reading, filling, and modifying IDocs. This base package is middleware independent. Creating, sending, and receiving IDocs is middleware dependent. To make use of the SAP Java Base IDoc Class Library you will need an additional middleware dependent add-on package implementing the defined interfaces like the SAP Java Connector IDoc Class Library.
    The SAP JCo can be downloaded from the   
    https://websmp101.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000463649
    of SAP JCo. The SAP JCo package includes the software as well as documentation, tutorial, and examples. The SAP Java IDoc Class Library can be downloaded from the same URL, and then follow the link to SAP Java IDoc Class Library. The SAP Java IDoc Class Library packages include the software as well as documentation.

  • Is there any difference between java Beans and general class library?

    Hello,
    I know a Java Bean is just a java object. But also a general class instance is also a java object. So can you tell me difference between a java bean and a general class instance? Or are the two just the same?
    I assume a certain class is ("abc.class")
    Second question is is it correct that we must only use the tag <jsp:useBean id="obj" class="abc.class" scope="page" /> when we are writng jsp program which engage in using a class?Any other way to use a class( create object)? such as use the java keyword "new" inside jsp program?
    JohnWen604
    19-July-2005

    a bean is a Java class, but a Java class does not have to be a bean. In other words a bean in a specific Java class and has rules that have to be followed before you have a bean--like a no argument constructor. There are many other features of beans that you may implement if you so choose, but read over the bean tutorial and you'll see, there is a lot to a bean that is just not there for many of the Java classes.
    Second question: I'll defer to someone else, I do way to little JSP's to be able to say "must only[\b]".

  • How to use Spatial Java Class to update spatial data?

    Hi,
    I am new to Oracle and couldn't find enough information on how to update spatial data.
    Here are my questions?
    1)Where could I find Spatial Java Class Javadoc?
    2)I'd like to update spatial data inside a ResultSet.next() loop.
    After I got the Geometry object and Point object how do I change the x and y values of Point object and save it back to the database.
    3)
    GeometryAdapter sdoAdapter = OraSpatialManager.getGeometryAdapter("SDO", "8.1.6", null, STRUCT.class, null, conn);
    Can I use the above GeometryAdapter for saving Geometry back to database?
    4)
    SpatialReference sref = srManager.retrieve(8265);
    // SRID = 8265: LAT-LON (NAD 83)
    Do I need to create a SpatialReference object and why retrieve the SRID '8256'? Do I have to create SRID '8256'?
    Thanks for any help
    Gwowen

    You can find some sample code that shows you how to do that using
    the SDOAPI java library. Look under the "Sample Code" section on
    OTN's Spatial page:
    http://otn.oracle.com/sample_code/products/spatial/content.html
    The sample file SampleNewToSDO.java is what you will need.
    hoep this helps,
    -LJ

  • Problem with servicegen and how to convert java classes to webservices

    I am a beginner and am trying to convert all my java code into webservices,I have
    a java class Test.java and number of other third party libraries and my own java
    files that are reffered in Test.java. I want to expose the public methods in Test.java
    as webservices.
    the serivegen part of My build.xml is as below
    <servicegen
    destEar="${APPLICATIONS}/${ear_file}"
    warName="${war_file}">
    <service
    javaClassComponents="com.verizon.Test"
    targetNamespace="${namespace}"
    serviceName="Test"
    serviceURI="/Test"
    generateTypes="True"
    expandMethods="True">
    </service>
    <classpath>
    <pathelement path="${build}"/>
    <pathelement path="${java.class.path}"/>
    </classpath>
    </servicegen>
    When i run ant it complains:
    [servicegen] weblogic.xml.schema.binding.BindingException: Invalid class received:
    interface org.apache.crimson.tree.ElementFactory loaded from file:/apps/opt/crimson.jar!/org/apache/crimson/tree/ElementFactory.class.
    All classes that will be serialized or deserialized must be non-interface, non-abstract
    classes that provide a public default constructor
    I have no clue,Why is Servicegen introspecting the third party class file also?I
    just need the public methods in Test.java exposed and Test.java will just use
    the third party library.
    also,is there a way to tell servicegen to include all these java files X,Y,Z to
    the war file/ear files but expose only the public methods of X in the WSDL.
    Please help
    thanks
    Suresh

    Hi Bruce,
    Thanks very much for the insight u provided.Yes one of my public methods was returning
    a element factory.
    But let me ask my question this way:
    Is there a way to tell servicegen to take only the specified public methods in
    a class to make them as webservices?
    by default servicegen is taking all the public methods..,i workaround i found
    is to deploy the webservice manually by writing the web-services.xml to include
    only the required public methods.
    thanks
    Suresh
    Bruce Stephens <[email protected]> wrote:
    Hi Suresh,
    Does your Test.java have a public method that returns the element
    factory of an XML document, like "public ElementFactory
    getElementFactory ();" or such?
    If so, you may want to check out the supported build-in and non-built-in
    data types:
    http://edocs.bea.com/wls/docs81/webserv/assemble.html#1060696
    Concerning your last question, you can use the excludeEJBs, includeEJBs
    (in combination with the ejbJar attribute) to specify which non-built-in
    data type components should be generated. Or if you use the
    javaClassComponents then simply use a comma separated list of class
    names.
    Hope this helps,
    Bruce
    suresh wrote:
    I am a beginner and am trying to convert all my java code into webservices,Ihave
    a java class Test.java and number of other third party libraries andmy own java
    files that are reffered in Test.java. I want to expose the public methodsin Test.java
    as webservices.
    the serivegen part of My build.xml is as below
    <servicegen
    destEar="${APPLICATIONS}/${ear_file}"
    warName="${war_file}">
    <service
    javaClassComponents="com.verizon.Test"
    targetNamespace="${namespace}"
    serviceName="Test"
    serviceURI="/Test"
    generateTypes="True"
    expandMethods="True">
    </service>
    <classpath>
    <pathelement path="${build}"/>
    <pathelement path="${java.class.path}"/>
    </classpath>
    </servicegen>
    When i run ant it complains:
    [servicegen] weblogic.xml.schema.binding.BindingException: Invalidclass received:
    interface org.apache.crimson.tree.ElementFactory loaded from file:/apps/opt/crimson.jar!/org/apache/crimson/tree/ElementFactory.class.
    All classes that will be serialized or deserialized must be non-interface,non-abstract
    classes that provide a public default constructor
    I have no clue,Why is Servicegen introspecting the third party classfile also?I
    just need the public methods in Test.java exposed and Test.java willjust use
    the third party library.
    also,is there a way to tell servicegen to include all these java filesX,Y,Z to
    the war file/ear files but expose only the public methods of X in theWSDL.
    Please help
    thanks
    Suresh

Maybe you are looking for

  • Z87-GD65 USB and ATA/ATAPI Bridge Issues

    I just installed a new Z87-GD65 into a Silverstone HTPC case and I'm having weird issues with all USB 3.0 ports. This problem occurs on both a Windows 10 technical preview install and a Windows 8.1 install. Everything is updated including the BIOS an

  • InDesign CS5 won't launch on Mac OS 10.8.3

    InDesign CS5 won't launch on Mac OS 10.8.3

  • I can't see my full wish list

    I can only see the top 30 or so songs on my wish list, but i have way more than that

  • Knowledge required for Fixed Asset Addon

    Dear Experts, Please help advice or confirm on the following. 1. In SBO, there is Posting Periods, in FA, there is Fiscal Year. Is it true that whenever you create a Posting Period in SBO, the equivalent will also be created in FA's Fiscal Year list?

  • Offline images not offline/ can't reconnect

    As a general housekeeping practice, I check for offline images regularly.  Today I found 100 images and videos offline. They are all  from the same project, but only part of the project is affected.  A spotlight search reveals that the images are exa