<?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: Splunk DB connect raising column on Oracle Timezone field in Splunk Cloud Platform</title>
    <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Splunk-DB-connect-raising-column-on-Oracle-Timezone-field/m-p/392458#M810</link>
    <description>&lt;P&gt;I think this issue is related to JDBC drivers, here are few links which explains DATE and TIMESTAMP is JDBC Driver specific.&lt;BR /&gt;
&lt;A href="https://community.oracle.com/thread/68918?start=0&amp;amp;tstart=0"&gt;https://community.oracle.com/thread/68918?start=0&amp;amp;tstart=0&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.coderanch.com/t/90891/JBoss/oracle-jdbc-Compatible-true"&gt;http://www.coderanch.com/t/90891/JBoss/oracle-jdbc-Compatible-true&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://community.oracle.com/message/3613155"&gt;https://community.oracle.com/message/3613155&lt;/A&gt; &lt;/P&gt;</description>
    <pubDate>Tue, 13 Nov 2018 23:49:31 GMT</pubDate>
    <dc:creator>pruthvikrishnap</dc:creator>
    <dc:date>2018-11-13T23:49:31Z</dc:date>
    <item>
      <title>Splunk DB connect raising column on Oracle Timezone field</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Splunk-DB-connect-raising-column-on-Oracle-Timezone-field/m-p/392457#M809</link>
      <description>&lt;P&gt;I'm trying to index oracle table by setting up raising column on time stamp with timezone that was set to data type TIMESTAMP(6) WITH TIME ZONE(e.g value 08-SEP-17 08.01.39.330434000 AM UTC) in oracle database.&lt;/P&gt;

&lt;P&gt;Getting error when time stamp is set to DD-Mon-YY HH:MI:SS TZH:TZM for create_time raising column &lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;java.lang.ClassCastException: java.lang.String cannot be cast to oracle.sql.TIMESTAMPTZ&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 20:06:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Splunk-DB-connect-raising-column-on-Oracle-Timezone-field/m-p/392457#M809</guid>
      <dc:creator>sureshkrovi</dc:creator>
      <dc:date>2018-11-13T20:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB connect raising column on Oracle Timezone field</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Splunk-DB-connect-raising-column-on-Oracle-Timezone-field/m-p/392458#M810</link>
      <description>&lt;P&gt;I think this issue is related to JDBC drivers, here are few links which explains DATE and TIMESTAMP is JDBC Driver specific.&lt;BR /&gt;
&lt;A href="https://community.oracle.com/thread/68918?start=0&amp;amp;tstart=0"&gt;https://community.oracle.com/thread/68918?start=0&amp;amp;tstart=0&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.coderanch.com/t/90891/JBoss/oracle-jdbc-Compatible-true"&gt;http://www.coderanch.com/t/90891/JBoss/oracle-jdbc-Compatible-true&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://community.oracle.com/message/3613155"&gt;https://community.oracle.com/message/3613155&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 23:49:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Splunk-DB-connect-raising-column-on-Oracle-Timezone-field/m-p/392458#M810</guid>
      <dc:creator>pruthvikrishnap</dc:creator>
      <dc:date>2018-11-13T23:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB connect raising column on Oracle Timezone field</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Splunk-DB-connect-raising-column-on-Oracle-Timezone-field/m-p/392459#M811</link>
      <description>&lt;P&gt;Is there a way to customize oracle drivers in splunk.I did configure default ones available with splunk enterprize 7.2.0.Wondering what I can do to fix this in my local installation.Most of the above posts referring java jdbc code ,not sure how to interpret that in splunk.&lt;/P&gt;

&lt;P&gt;Please note that the static query with hardcoded time stamp is working good.some how splunk raising column setup passes the data type as java.lang.String that has issues while comparing against java.oracle.TimeStamp.&lt;/P&gt;

&lt;P&gt;Working Version:&lt;/P&gt;

&lt;P&gt;SELECT &amp;lt;&amp;gt; FROM &amp;lt;&amp;gt; where create_ts &amp;gt; to_timestamp('01-11-2018 08:15:03', 'DD-MM-YYYY HH24:MI:SS') order by create_ts ASC&lt;/P&gt;

&lt;P&gt;Issue When replaced string date with ? by configuring it to timestamp raising column&lt;BR /&gt;
SELECT &amp;lt;&amp;gt; FROM &amp;lt;&amp;gt; where create_ts &amp;gt; to_timestamp(?, 'DD-MM-YYYY HH24:MI:SS') order by create_ts ASC&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:03:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Splunk-DB-connect-raising-column-on-Oracle-Timezone-field/m-p/392459#M811</guid>
      <dc:creator>sureshkrovi</dc:creator>
      <dc:date>2020-09-29T22:03:19Z</dc:date>
    </item>
  </channel>
</rss>

