-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Datastax java driver #385
Comments
+1 |
Hello, I have recently worked on the Datastax Java driver. Can I work on this enhancement. |
Please let us know, if case we need to discuss something during implementation. -Vivek |
Thanks Vivek. |
Vivek,
|
Looks fine to me. Thanks, |
Any update on this? -Vivek |
+1 I’m also interested into this mainly for the new feature like automatic paging (http://www.datastax.com/dev/blog/client-side-improvements-in-cassandra-2-0) which is only available with the CQL java driver. Any update ? Thanks |
Thanks for the link, will have a look. BTW, pagination is supported by Kundera over Cassandra in both ways(Thrift and CQL3). -Vivek |
Thanks Vivek , I'll take a look . Based on this post from Datastax I thought it was only available via the CQL Native Protocol: |
Vivek, |
Hi Vivek, Are you adding support for the Datastax java driver ? JF |
Yes. I have started work on it -Vivek |
Hi Vivek, Thank you. |
Hi Vivek, |
Team is working on it and first version of Data stax java driver support is planned with 2.11 release -Vivek |
For those interested, I started a project 'normandra' (https://github.com/trajar/normandra) which provides a kind of 'JPA-light' API for cassandra via the DataStax 2.x driver. It started out of a need to have simple JPA operations (but not the full stack) via the DataStax library, which at the time wasn't available with Kundera. It reads JPA annotations, creates CQL3 schemas, and supports save/get operations. I recently added one-to-one and one-to-many relationships, id generators (using counters), and embedded ids. I am in the process of adding many-to-one relationships and simple queries. It could be a good starting point for Kundera team for adding DataStax support. |
Update on this How to use? Wiki page will be published with 2.11 release. -Vivek |
Support added for most of features as:
-Vivek |
Added support for Many to many association.
I'm testing the pagination on a table with composite partition key and I'm getting just one row (1) as result set. I'm setting the fetch size for 500 but the iterator just return 1 item. There is not exception/erro on logs! I don't understand why! the table has thousands of rows already inserted on it.
I'm using kundera-cassandra-ds-driver version 3.4 with cassandra-driver-core (com.datastax.casssandra) version 2.1.10.3 In my driver configuration I'm using the DSClientFactory and CQL version 3.0.0 |
It seems that the issue is related to the composite partition key, because I tried a similar query with other table without composite partition key and it worked perfectly |
I captured more details after removing the WHERE clause from my query and an exception occured! The query generated by the Kundera driver seems to be limiting the results using LIMIT 1. That could be causing the issue.
|
Analyze and see if this is feasible to provide Datastax java driver support.
The text was updated successfully, but these errors were encountered: