Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cassandra java ORM [closed]

Does anyone know a something similar to spring-data-mongo but for Cassandra ?

spring cassandra is alpha. easy cassandra is not so good. after working with spring-data-mongo, it is very hard to think in CQL way.

thanks, and sorry for being lame.

like image 338
builtofire Avatar asked Mar 09 '14 17:03

builtofire


People also ask

How to connect to Cassandra using Java?

In order to connect to Cassandra from Java, we need to build a Cluster object. An address of a node needs to be provided as a contact point. If we don't provide a port number, the default port (9042) will be used. These settings allow the driver to discover the current topology of a cluster.

Can we use JPA with Cassandra?

Use JPA libraries to communicate with Apache Cassandra comparing Achilles, Datastax and Kundera. The last one presents the better processing speeds with lower computational resources consumption. Source code is available on Github with detailed documentation on how to build and run the tests using Docker.

Is Cassandra written in Java?

Cassandra is a distributed database management system which is open source with wide column store, NoSQL database to handle large amount of data across many commodity servers which provides high availability with no single point of failure. It is written in Java and developed by Apache Software Foundation.

What is Cassandra in Java?

Cassandra is a free and open-source, distributed, wide-column store, NoSQL database management system designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure.


2 Answers

You should take a look into Kundera (https://github.com/impetus-opensource/Kundera), it is a very good Java option for Cassandra (and other datastores). It it JPA compliant, has an amazing development team (very responsive and fast moving) and excellent documentation.

HTH

like image 180
emgsilva Avatar answered Oct 07 '22 17:10

emgsilva


Try Easy Cassandra https://github.com/otaviojava/Easy-Cassandra. It works good for me

like image 27
Harish Shan Avatar answered Oct 07 '22 16:10

Harish Shan