<?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 Re: Databricks to Oracle in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-to-oracle/m-p/16770#M10888</link>
    <description>&lt;P&gt;Hello, im having a hard time connecting to an oracledb.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;I downloaded the driver and installed it.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;however, if i tried this.&lt;/P&gt;&lt;P&gt;oracledb.connect("credshere")&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;it does not work.&lt;/P&gt;&lt;P&gt;am i missing something here?​&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2023 10:22:17 GMT</pubDate>
    <dc:creator>BananaHotSauce</dc:creator>
    <dc:date>2023-01-26T10:22:17Z</dc:date>
    <item>
      <title>Databricks to Oracle</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-to-oracle/m-p/16764#M10882</link>
      <description>&lt;P&gt;How to write data from Databricks SQL to Oracle DB&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 16:57:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-to-oracle/m-p/16764#M10882</guid>
      <dc:creator>Raghu101</dc:creator>
      <dc:date>2022-12-15T16:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks to Oracle</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-to-oracle/m-p/16765#M10883</link>
      <description>&lt;P&gt;Hi @Raghu G​&amp;nbsp;please refer below code -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1004i6F2E75560EECAAC7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Image" alt="Image" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 08:22:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-to-oracle/m-p/16765#M10883</guid>
      <dc:creator>Ajay-Pandey</dc:creator>
      <dc:date>2022-12-16T08:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks to Oracle</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-to-oracle/m-p/16766#M10884</link>
      <description>&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 15:34:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-to-oracle/m-p/16766#M10884</guid>
      <dc:creator>Raghu101</dc:creator>
      <dc:date>2022-12-16T15:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks to Oracle</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-to-oracle/m-p/16768#M10886</link>
      <description>&lt;P&gt;we can use JDBC driver to write dataframe to Oracle tables. Every database will use jdbc connect to connect &amp;amp; access database. You can follow same process for connecting to any database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Download Oracle ojdbc6.jar JDBC Driver&lt;/B&gt;&lt;/P&gt;&lt;P&gt;You need an Oracle jdbc driver to connect to the Oracle server. The latest version of the Oracle jdbc driver is ojdbc6.jar file. You can download the driver version as per your JDK version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can download this driver from official&amp;nbsp;&lt;A href="https://www.oracle.com/technetwork/apps-tech/jdbc-112010-090769.html%EF%BB%BF" alt="https://www.oracle.com/technetwork/apps-tech/jdbc-112010-090769.html%EF%BB%BF" target="_blank"&gt;website&lt;/A&gt;. Go ahead and create Oracle account to download if you do not have. Or can download from maven as dependent library in cluster or job directly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Databricks Clusters UI, install your third-party library .jar or Maven artifact with&amp;nbsp;&lt;B&gt;Library Source&lt;/B&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Upload DBFS, DBFS/S3 or&amp;nbsp;Maven. Alternatively, use the Databricks libraries API.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="install-library"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/997i3B6992A7BE995D16/image-size/large?v=v2&amp;amp;px=999" role="button" title="install-library" alt="install-library" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Load Spark DataFrame to Oracle Table Example&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Now the environment is se. we can use dataframe.write method to load dataframe into Oracle tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, the following piece of code will establish JDBC connection with the Oracle database and copy dataframe content into mentioned table.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Df.write.format('jdbc').options(
&amp;nbsp;
      url='jdbc:oracle:thin:@192.168.11.100:1521:ORCL',
&amp;nbsp;
      driver='oracle.jdbc.driver.OracleDriver',
&amp;nbsp;
      dbtable='testschema.test',
&amp;nbsp;
      user='testschema',
&amp;nbsp;
      password='password').mode('append').save()
&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 06:23:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-to-oracle/m-p/16768#M10886</guid>
      <dc:creator>ramravi</dc:creator>
      <dc:date>2022-12-22T06:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks to Oracle</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-to-oracle/m-p/16769#M10887</link>
      <description>&lt;P&gt;@Raghu101 thanks this answer helped me &lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 12:19:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-to-oracle/m-p/16769#M10887</guid>
      <dc:creator>Meghala</dc:creator>
      <dc:date>2022-12-26T12:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks to Oracle</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-to-oracle/m-p/16770#M10888</link>
      <description>&lt;P&gt;Hello, im having a hard time connecting to an oracledb.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;I downloaded the driver and installed it.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;however, if i tried this.&lt;/P&gt;&lt;P&gt;oracledb.connect("credshere")&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;it does not work.&lt;/P&gt;&lt;P&gt;am i missing something here?​&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 10:22:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-to-oracle/m-p/16770#M10888</guid>
      <dc:creator>BananaHotSauce</dc:creator>
      <dc:date>2023-01-26T10:22:17Z</dc:date>
    </item>
  </channel>
</rss>

