You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benjamin Lerer (JIRA)" <ji...@apache.org> on 2016/11/18 08:23:58 UTC

[jira] [Commented] (CASSANDRA-12880) setInt/setShort/setFlaot throwing exception from CassandraPreparedStatement

    [ https://issues.apache.org/jira/browse/CASSANDRA-12880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15676130#comment-15676130 ] 

Benjamin Lerer commented on CASSANDRA-12880:
--------------------------------------------

{{org.apache.cassandra.cql.jdbc.JdbcInteger}} and the other classes mentioned are not Cassandra classes.
They seems to belong to the Cassandra JDBC driver and I do not know why they use the {{org.apache.cassandra}} domain name.











> setInt/setShort/setFlaot throwing exception from CassandraPreparedStatement
> ---------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12880
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12880
>             Project: Cassandra
>          Issue Type: Test
>          Components: Core
>         Environment: Cassandra JDBC
>            Reporter: Raghavendra Pinninti
>            Priority: Trivial
>             Fix For: 2.1.x
>
>
> Getting Exception as for ps.setInt/ps.setFloat methods
> Exception in thread "main" java.lang.NoSuchMethodError: org.apache.cassandra.cql.jdbc.JdbcInteger.decompose(Ljava/math/BigInteger;)Ljava/nio/ByteBuffer;
> 	at org.apache.cassandra.cql.jdbc.CassandraPreparedStatement.setShort(CassandraPreparedStatement.java:381)
> 	at com.jdbc.cassandra.CassandraJdbc.Insert(CassandraJdbc.java:63)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)