• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Wanted: Working Example of Cassandra with Spring ORM

 
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm going nuts trying to find a working example of using Cassandra with a java ORM like Spring.framework.data. I've tried over a half dozen examples and none work
This makes me wonder if there is something wrong with the Cassandra server I am using.

However, this example works in java and groovy. Here is the abbreviated groovy version:

This makes me think that I have the v3.9 cassandra server working correctly.

So here is one of the many examples that I found from google searching that I cannot make work:
https://github.com/pivotal-cf/cf-cassandra-spring-example-app

I've tried this with Cassandra  (versions 3.7 and 3.9 and 2.0.8) and java 1.8 on Windows 10.



As far as I can tell, everytime I run cassandra 2.0.8, or 3.7 or 3.9, the server is listening on 127.0.0.1 and the default port 9042 and all my clients are also trying to connect to port 9042 (the default).

I've also tried these examples and cannot make them work either:

https://github.com/valchkou/SpringFrameworkCassandraSample

https://github.com/smartcat-labs/spring-cassandra-showcase-application

https://github.com/hellojeya/Demo-SpringBoot-Cassandra

https://github.com/boneill42/spring-data-jpa-cassandra.git

https://examples.javacodegeeks.com/enterprise-java/spring/spring-data-cassandra-example/

And some others I cannot remember where I downloaded them from.

Can someone help me fix
https://github.com/pivotal-cf/cf-cassandra-spring-example-app or find an example that works (preferable an example that uses JUnit to demonstrate that it works)?

Thanks
siegfried


 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic