cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: JDBC CQL Driver setAutoCommit Unsupported Method
Date Thu, 14 Jul 2011 16:30:26 GMT
Unsupported means it doesn't work yet. :)

In the case of autocommit, I'm not sure it will ever make sense.  On
the one hand it could make sense to turn autocommit=off statements
into a batch, but we don't want to confuse people into thinking it
provides some kind of transaction isolation for reads, which it could
not.

On Thu, Jul 14, 2011 at 8:59 AM, Derek Tracy <tracyde@gmail.com> wrote:
> Still trying to integrate Cassandra's CQL JDBC driver with my companies ETL
> but ran into another roadblock.
> I will caveat this post with "I do not know a lot about JDBC and how it is
> implemented"
>
> When trying to test the connection (using the ETL) I get an Unsupported
> Method exception, I looked at the CassandraDriver.java file (line 561) and
> it is immediately throwing an exception whenever the setAutoCommit method is
> accessed, is there any way (via the JDBC connection string maybe) I can
> disable any attempt to set autocommit or any other parameter?
>
> Is my best best going to be downloading the source and re-compiling after
> commenting out the exceptions?
>
>
>
> ---------------------------------
> Derek Tracy
> tracyde@gmail.com
> ---------------------------------
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message