<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ArcSDE 10: How to read/write to Oracle Geodatabase with Java in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/arcsde-10-how-to-read-write-to-oracle-geodatabase/m-p/726566#M41173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found the following in the deprecation plan of ArcGIS 10.2:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;ArcGIS 10.2 will be the last major release to support the ArcSDE SDK with the ArcSDE C and Java APIs. Today many other options are available for developers, including SQL, which is available as a result of the widespread adoption of spatial types... &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In our recent Java/Oracle project, we want to write/read Features to an Oracle DB, which uses ST_GEOMETRY instead of Oracle's SDO_GEOMETRY. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So my questions is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Is it a bad idea to use the Java SDE API when starting from scratch? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. If SQL is the alternative - how can I do this? Shouldn't there be JDBC Support for ST_GEOMETRY in Oracle? I could not find anything like that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. If there is no JDBC Support - isn't the SDE API the only path to go currently? I don't see "many other options".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Aug 2013 17:20:57 GMT</pubDate>
    <dc:creator>G_L_</dc:creator>
    <dc:date>2013-08-19T17:20:57Z</dc:date>
    <item>
      <title>ArcSDE 10: How to read/write to Oracle Geodatabase with Java</title>
      <link>https://community.esri.com/t5/data-management-questions/arcsde-10-how-to-read-write-to-oracle-geodatabase/m-p/726566#M41173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found the following in the deprecation plan of ArcGIS 10.2:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;ArcGIS 10.2 will be the last major release to support the ArcSDE SDK with the ArcSDE C and Java APIs. Today many other options are available for developers, including SQL, which is available as a result of the widespread adoption of spatial types... &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In our recent Java/Oracle project, we want to write/read Features to an Oracle DB, which uses ST_GEOMETRY instead of Oracle's SDO_GEOMETRY. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So my questions is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Is it a bad idea to use the Java SDE API when starting from scratch? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. If SQL is the alternative - how can I do this? Shouldn't there be JDBC Support for ST_GEOMETRY in Oracle? I could not find anything like that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. If there is no JDBC Support - isn't the SDE API the only path to go currently? I don't see "many other options".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 17:20:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcsde-10-how-to-read-write-to-oracle-geodatabase/m-p/726566#M41173</guid>
      <dc:creator>G_L_</dc:creator>
      <dc:date>2013-08-19T17:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSDE 10: How to read/write to Oracle Geodatabase with Java</title>
      <link>https://community.esri.com/t5/data-management-questions/arcsde-10-how-to-read-write-to-oracle-geodatabase/m-p/726567#M41174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;1. Is it a bad idea to use the Java SDE API when starting from scratch? &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; As usual, it depends, but if you plan to remain current on your ArcGIS release, you'd &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;be setting yourself up for difficulty later.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;2. If SQL is the alternative - how can I do this? Shouldn't there be JDBC Support for&lt;BR /&gt; ST_GEOMETRY in Oracle? I could not find anything like that.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;JDBC is a least common denominator approach, but you can work around the lack of a geometry&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;type by making use of Well-Known Text and/or Well-Known Binary (any of the SQL constructors,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; really).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;3. If there is no JDBC Support - isn't the SDE API the only path to go currently? I don't&lt;BR /&gt; see "many other options".&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some of the many options may not be available, since they include using SDO_GEOMETRY&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Oracle has tweaked JDBC to support geometry insert), or another database, but depending on&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; the size of the geometries involved, Well-Known Text is a viable way to access ST_GEOMETRY&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; across JDBC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 19:31:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcsde-10-how-to-read-write-to-oracle-geodatabase/m-p/726567#M41174</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-08-19T19:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSDE 10: How to read/write to Oracle Geodatabase with Java</title>
      <link>https://community.esri.com/t5/data-management-questions/arcsde-10-how-to-read-write-to-oracle-geodatabase/m-p/726568#M41175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ST_GEOMETRY is ESRI's format while SDO_GEOMETRY is Oracle's so if you want pure SQL then you would need to goto SDO_GEOMETRY. If you want to use ST_GEOMETRY then you can look at ArcObjects Java API or use Geoprocessing (calling it from java).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I found the following in the deprecation plan of ArcGIS 10.2:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In our recent Java/Oracle project, we want to write/read Features to an Oracle DB, which uses ST_GEOMETRY instead of Oracle's SDO_GEOMETRY. &lt;BR /&gt;&lt;BR /&gt;So my questions is:&lt;BR /&gt;&lt;BR /&gt;1. Is it a bad idea to use the Java SDE API when starting from scratch? &lt;BR /&gt;2. If SQL is the alternative - how can I do this? Shouldn't there be JDBC Support for ST_GEOMETRY in Oracle? I could not find anything like that.&lt;BR /&gt;3. If there is no JDBC Support - isn't the SDE API the only path to go currently? I don't see "many other options".&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 20:09:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcsde-10-how-to-read-write-to-oracle-geodatabase/m-p/726568#M41175</guid>
      <dc:creator>SachinKanaujia</dc:creator>
      <dc:date>2013-08-19T20:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSDE 10: How to read/write to Oracle Geodatabase with Java</title>
      <link>https://community.esri.com/t5/data-management-questions/arcsde-10-how-to-read-write-to-oracle-geodatabase/m-p/726569#M41176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thx vangelo, that was helpful. Am I right - you mean doing something like this?:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ResultSet rs = stmt.executeQuery("SELECT sde.ST_AsText(shape) as wkt FROM EXAMPLE_POLYGON_TABLE"); 
&amp;nbsp;&amp;nbsp;&amp;nbsp; String shapeAsWellKnownText =&amp;nbsp; rs.next().getString("wkt");
&amp;nbsp;&amp;nbsp;&amp;nbsp; Geometry geometry = wktParser.parse(shapeAsWellKnownText );&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But do you know if there is a way to use Hibernate or other ORM Mapper?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:04:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcsde-10-how-to-read-write-to-oracle-geodatabase/m-p/726569#M41176</guid>
      <dc:creator>G_L_</dc:creator>
      <dc:date>2021-12-12T07:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSDE 10: How to read/write to Oracle Geodatabase with Java</title>
      <link>https://community.esri.com/t5/data-management-questions/arcsde-10-how-to-read-write-to-oracle-geodatabase/m-p/726570#M41177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, that's what I meant; you can do the same on insert.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've always dealt with my databases directly, so I can't speak to access&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;through Hibernate and its ilk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 22:11:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcsde-10-how-to-read-write-to-oracle-geodatabase/m-p/726570#M41177</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-08-19T22:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSDE 10: How to read/write to Oracle Geodatabase with Java</title>
      <link>https://community.esri.com/t5/data-management-questions/arcsde-10-how-to-read-write-to-oracle-geodatabase/m-p/726571#M41178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you should also have a look at the ESRI Geometry API for Java, as it is OGC ST_Geometry based. It is used in ESRI's Open Source samples for Hadoop that may give you ideas too, an implementation including python Geoprocessing tools as well (also see my PDF &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/83644-quot-The-ESRI-Geodatabase-Framework-quot-PDF?p=303021&amp;amp;viewfull=1#post303021"&gt;here&lt;/A&gt;&lt;SPAN&gt; for some brief introduction to the Spatial Framework for Hadoop)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://esri.github.io/"&gt;http://esri.github.io/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/Esri/geometry-api-java"&gt;https://github.com/Esri/geometry-api-java&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 07:05:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcsde-10-how-to-read-write-to-oracle-geodatabase/m-p/726571#M41178</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2013-08-20T07:05:09Z</dc:date>
    </item>
  </channel>
</rss>

