<?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>question &amp;quot; java.sql.SQLFeatureNotSupportedException: [Simba][JDBC](10220) Driver not capable. &amp;quot; in Hive in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-java-sql-SQLFeatureNotSupportedException-Simba-JDBC/m-p/30030#M6727</link>
    <description>&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;" &lt;FONT color="#3366FF"&gt;&lt;U&gt;java.sql.SQLFeatureNotSupportedException&lt;/U&gt;&lt;/FONT&gt;&lt;FONT color="#FF0000"&gt;: [Simba][JDBC](10220) Driver not capable.&lt;/FONT&gt; "&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above exception is giving when I'm executing my &lt;STRONG&gt;JEE webapplication with Hive 0.13&amp;nbsp;&lt;/STRONG&gt;in Eclipse (Kepler).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Due to below line:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pstmt = con.prepareStatement(query, &lt;STRONG&gt;ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FFFF00"&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;NOTE:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - The application is executing properly with query parameter of the above method.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - But, This exception is coming just because of last 2 parameters of above method, nothing but ResultSet types.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003366"&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;I Followed Configurations:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003366"&gt;- &lt;FONT color="#FF6600"&gt;&lt;U&gt;Cloudera Hive JDBC Driver class&lt;/U&gt;:&lt;/FONT&gt;&amp;nbsp;com.cloudera.hive.jdbc4.HS2Driver&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003366"&gt;- &lt;FONT color="#FF6600"&gt;&lt;U&gt;Connection URL&lt;/U&gt;:&lt;/FONT&gt;&amp;nbsp;jdbc:hive2://192.168.1.135:10000/yottadb6&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Cloudera Software: cloudera-quickstart-vm-5.3.0-0-vmware&lt;/P&gt;&lt;P&gt;- Hive v0.13&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003366"&gt;- Cloudera Hive Jdbc drivers 2.5.3&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003366"&gt;- Apache Tomcat 7.0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003366"&gt;- JDK 1.7&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003366"&gt;&lt;FONT size="3" color="#FF0000"&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Q:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp; &lt;FONT size="3"&gt;&lt;U&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Can any body resolve the above problem as early as possible?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 09:35:25 GMT</pubDate>
    <dc:creator>SaiRam5th</dc:creator>
    <dc:date>2022-09-16T09:35:25Z</dc:date>
    <item>
      <title>" java.sql.SQLFeatureNotSupportedException: [Simba][JDBC](10220) Driver not capable. " in Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-java-sql-SQLFeatureNotSupportedException-Simba-JDBC/m-p/30030#M6727</link>
      <description>&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;" &lt;FONT color="#3366FF"&gt;&lt;U&gt;java.sql.SQLFeatureNotSupportedException&lt;/U&gt;&lt;/FONT&gt;&lt;FONT color="#FF0000"&gt;: [Simba][JDBC](10220) Driver not capable.&lt;/FONT&gt; "&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above exception is giving when I'm executing my &lt;STRONG&gt;JEE webapplication with Hive 0.13&amp;nbsp;&lt;/STRONG&gt;in Eclipse (Kepler).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Due to below line:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pstmt = con.prepareStatement(query, &lt;STRONG&gt;ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FFFF00"&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;NOTE:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - The application is executing properly with query parameter of the above method.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - But, This exception is coming just because of last 2 parameters of above method, nothing but ResultSet types.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003366"&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;I Followed Configurations:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003366"&gt;- &lt;FONT color="#FF6600"&gt;&lt;U&gt;Cloudera Hive JDBC Driver class&lt;/U&gt;:&lt;/FONT&gt;&amp;nbsp;com.cloudera.hive.jdbc4.HS2Driver&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003366"&gt;- &lt;FONT color="#FF6600"&gt;&lt;U&gt;Connection URL&lt;/U&gt;:&lt;/FONT&gt;&amp;nbsp;jdbc:hive2://192.168.1.135:10000/yottadb6&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Cloudera Software: cloudera-quickstart-vm-5.3.0-0-vmware&lt;/P&gt;&lt;P&gt;- Hive v0.13&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003366"&gt;- Cloudera Hive Jdbc drivers 2.5.3&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003366"&gt;- Apache Tomcat 7.0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003366"&gt;- JDK 1.7&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003366"&gt;&lt;FONT size="3" color="#FF0000"&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Q:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp; &lt;FONT size="3"&gt;&lt;U&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Can any body resolve the above problem as early as possible?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:35:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-java-sql-SQLFeatureNotSupportedException-Simba-JDBC/m-p/30030#M6727</guid>
      <dc:creator>SaiRam5th</dc:creator>
      <dc:date>2022-09-16T09:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: " java.sql.SQLFeatureNotSupportedException: [Simba][JDBC](10220) Driver not capable. "</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-java-sql-SQLFeatureNotSupportedException-Simba-JDBC/m-p/30035#M6728</link>
      <description>&lt;P&gt;&lt;U&gt;&lt;FONT size="4" color="#FF0000"&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Hey guys, I found one thing. &lt;FONT color="#0000FF"&gt;Sorry to say this&lt;/FONT&gt;:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;i.e.,&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;Cloudera Hive &amp;amp; Cloudera Impala both just will support &lt;FONT size="4" color="#00FF00"&gt;"forward-only and read-only ResultSet"&lt;/FONT&gt;. Because both of these environments won't support Transactions.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jul 2015 04:29:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-java-sql-SQLFeatureNotSupportedException-Simba-JDBC/m-p/30035#M6728</guid>
      <dc:creator>SaiRam5th</dc:creator>
      <dc:date>2015-07-26T04:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: " java.sql.SQLFeatureNotSupportedException: [Simba][JDBC](10220) Driver not capable. "</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-java-sql-SQLFeatureNotSupportedException-Simba-JDBC/m-p/65275#M6729</link>
      <description>&lt;P&gt;I tried to use only the "forward-only and read-only ResultSet". Still getting the same error . This is what I have tried:-&lt;/P&gt;&lt;PRE&gt;@GET
    @Produces(MediaType.APPLICATION_JSON)
    public  String list() throws SQLException, ClassNotFoundException {
        List&amp;lt;Biler&amp;gt; bilers = new ArrayList&amp;lt;Biler&amp;gt;();
         final String DRIVER_CLASS = "com.cloudera.impala.jdbc4.Driver";
          final String CONNECTION_URL = "jdbc:impala://SERVER_ADDRESS:21050;AuthMech=0;";
             Class.forName(DRIVER_CLASS);
               Biler biler = null;
               Connection    connection = DriverManager.getConnection(CONNECTION_URL);
           // Statement stmt = connection.createStatement();
            stmt = connection.createStatement( ResultSet.CONCUR_READ_ONLY,
            		ResultSet.TYPE_FORWARD_ONLY);
            ResultSet rs =stmt.executeQuery(" select senderid ,procdate ,count(*) as count1 from smsc.smsc_data_par group by senderid , procdate");
        try{
            	while (rs.next()) {
                biler = new Biler();
                biler.setId(rs.getString("senderid"));
                biler.setName(rs.getString("procdate"));
                biler.setValue(rs.getString("count1"));
                bilers.add(biler);
            }
            
        }finally{
            if (rs != null){
                try{
                    rs.close();
                }catch(SQLException e){}
            }
            if(connection !=null){
                try{
                    connection.close();
                }catch(SQLException e){}
            }
            if(stmt != null){
                try{
                    stmt.close();
                }catch(SQLException e ){}
            }
            
        }
        Gson gson = new Gson();
        return gson.toJson(bilers);
         
    }
}&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Mar 2018 06:56:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-java-sql-SQLFeatureNotSupportedException-Simba-JDBC/m-p/65275#M6729</guid>
      <dc:creator>amankumar42</dc:creator>
      <dc:date>2018-03-12T06:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: " java.sql.SQLFeatureNotSupportedException: [Simba][JDBC](10220) Driver not capable. "</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-java-sql-SQLFeatureNotSupportedException-Simba-JDBC/m-p/65299#M6730</link>
      <description>&lt;P&gt;After upating result set still getting the same error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;java.sql.SQLFeatureNotSupportedException: [Simba][JDBC](10220) Driver not capable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;  public  String list() throws SQLException, ClassNotFoundException {
        List&amp;lt;Biler&amp;gt; bilers = new ArrayList&amp;lt;Biler&amp;gt;();
     
         final String DRIVER_CLASS = "com.cloudera.impala.jdbc4.Driver";
          final String CONNECTION_URL = "jdbc:impala://host_name:21050;AuthMech=0;";
       
             Class.forName(DRIVER_CLASS);
           
               Biler biler = null;
               Connection    connection = DriverManager.getConnection(CONNECTION_URL);
               
          Statement  stmt = connection.createStatement( ResultSet.TYPE_FORWARD_ONLY,
            		ResultSet.CONCUR_READ_ONLY);
            		
       
            ResultSet rs =stmt.executeQuery("select senderid ,procdate ,count(*) as"
            		+ " count1 from smsc.smsc_data_par group by senderid , procdate");
         
        try{
            	while (rs.next()) {
      
                biler = new Biler();
                biler.setId(rs.getString("senderid"));
                biler.setName(rs.getString("procdate"));
                biler.setValue(rs.getString("count1"));
                bilers.add(biler);
            }
            
        }finally{
            
            if (rs != null){
                try{
                    rs.close();
                }catch(SQLException e){}
            }
            if(connection !=null){
                try{
                    connection.close();
                }catch(SQLException e){}
            }
            if(stmt != null){
                try{
                    stmt.close();
                }catch(SQLException e ){}
            }
            
        }
      
        Gson gson = new Gson();
        return gson.toJson(bilers);
         
    }
}&lt;/PRE&gt;&lt;P&gt;Any suggestion&amp;nbsp; how to resolve this issue ?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 13:25:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-java-sql-SQLFeatureNotSupportedException-Simba-JDBC/m-p/65299#M6730</guid>
      <dc:creator>amankumar42</dc:creator>
      <dc:date>2018-03-12T13:25:45Z</dc:date>
    </item>
  </channel>
</rss>

