Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9178023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:27:22+00:00 2026-06-17T17:27:22+00:00

We have started using Cassandra with Astyanax for our persistence layer and have hit

  • 0

We have started using Cassandra with Astyanax for our persistence layer and have hit the brick wall.

DefaultEntityManager is not allowing me to have ColumnFamily with

The error message thrown by Astyanax:
“The method withColumnFamily(ColumnFamily) in the type DefaultEntityManager.Builder is not applicable for the arguments (ColumnFamily“

We want to use TimeUUIDTypes as key so that they are unique and are ordered by time.

How else can I use UUIDs as key?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T17:27:23+00:00Added an answer on June 17, 2026 at 5:27 pm

    I finally understood why Astyanax was not allowing me ColumnFamily with . My mistake was that I was defining the EntityManager with parameters (Object, String) instead of (Object, UUID)

    ColumnFamily<UUID, String> columnFamily = new ColumnFamily< UUID, String>(
        "Merchant",  // Column Family Name    
        StringSerializer.get(), //  Key Serializer
        StringSerializer.get());    //  Column Serializer
    
    EntityManager<Merchant, UUID > entityPersister = new DefaultEntityManager.Builder<Merchant, UUID >()
        .withEntityType(Merchant.class)
        .withKeyspace(keyspace)
        .withColumnFamily(columnFamily)
        .build();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In our company we have started using VS 2010 to model our systems, in
We are developing our new application in .Net 3.5 and we have started using
I have started using Webdriver to automate our testing which is 100% manual. In
I have started using aspects for parameter validation in our development framework. It works
I have started using WSO2 Stratos live and started using WSO2 data services server.
I have started using SqLite recently, so I am relatively new to it. I
I have started using https://github.com/omab/django-social-auth and been successfully able to login via twitter, google
I have started using struts .I have hanged in a place ,Code is bellow
I have started using PDO in php for the first time. Here is my
I have started using Linq to SQL for a project im working on and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.