Questions tagged [kundera]

Kundera is a JPA 2.1-compliant object-datastore mapping library for NoSQL datastores.

The idea behind Kundera is to make working with NoSQL databases drop-dead simple and fun. Kundera is being developed with following objectives:

  1. To make working with NoSQL as simple as working with SQL
  2. To serve as JPA-compliant mapping solution for NoSQL datastores.
  3. To help developers, forget the complexity of NoSQL stores and focus on the domain model.
  4. To make switching across data-stores as easy as changing a configuration.

Project Location: https://github.com/impetus-opensource/Kundera

149 questions
0
votes
1 answer

kundera: java.lang.ClassCastException: java.lang.String cannot be cast to [B

I want to insert an object into cassandra using kundera framework, but i receive this error: java.lang.RuntimeException: java.lang.ClassCastException: java.lang.String cannot be cast to [B at…
h.zak
  • 1,407
  • 5
  • 21
  • 40
0
votes
1 answer

java.io.NotSerializableException: com.impetus.kundera.persistence.EntityManagerImpl

I want to use kundera as a dao layer for apache storm, to store data in cassandra data base. My topology is created without any problem and i can receive messages, but when I tried to store data in the database, I receive the message: 26240…
h.zak
  • 1,407
  • 5
  • 21
  • 40
0
votes
1 answer

Caused by: javax.persistence.PersistenceException: org.apache.cassandra.serializers.MarshalException: Unexpected extraneous bytes after map value

I have a table in cassandra which has a column of type MAP (i.e) source_id_map map When I try to read a row from this table, I see that there is some issue while reading column of map type as below Caused by:…
Vinod Jayachandran
  • 3,726
  • 8
  • 51
  • 88
0
votes
0 answers

Unexpected extraneous bytes after map value

I have a table in cassandra which has a column of type MAP (i.e) source_id_map map I am using kundera ORM for cassandra. During a select, I get the below exception Cassandra Version : 2.1.8 Any ideas, what could be the possible cause ? Error while…
Vinod Jayachandran
  • 3,726
  • 8
  • 51
  • 88
0
votes
0 answers

Correct place to keep persistence.xml in Maven web application

I have created maven web project. Now I am trying to connect Cassandra through Kundera library. I kept my persistence.xml in src/main/resources/META-INF/ folder. But I am getting the following error: javax.persistence.PersistenceException: No…
Vijaya
  • 157
  • 1
  • 16
0
votes
1 answer

Kundera Cassandra - mapping a map

In my cassandra (V 3.0.1) schema i have a column with map type. Column-family: CREATE TABLE test.Test ( id uuid, targetMisc map, PRIMARY KEY (id)); I use Kundera (V3.2) with the…
K.E.
  • 818
  • 2
  • 12
  • 28
0
votes
1 answer

How to do delete rows based on indexed column in cassandra

Current Approach that i am using for deleting rows based on indexed column Select query with a limit 100. If there are rows Delete all the fetched rows one by one. Flush the entity Manager. Go to step 1. Using cassandra 2.1.8 and…
Prabhath
  • 629
  • 6
  • 13
0
votes
1 answer

Disable Logging in Kundera for Cassandra

All CRUD operations being logged in our application logs by Kundera, which floods our logs. Is there a way to turn it off ? I should at least be able to direct it to another file instead of crowding my application logs files. Is there any way to do…
Vinod Jayachandran
  • 3,726
  • 8
  • 51
  • 88
0
votes
1 answer

Too many instances of com.impetus.kundera.persistence.event.EntityEventDispatcher

I am using Kundera as an ORM for cassandra. As part of our nightly job we try insert approximately 60k rows into cassandra daily. During the process if a row with PRIMARY key already exists (as may update primary key too), we do the following…
Vinod Jayachandran
  • 3,726
  • 8
  • 51
  • 88
0
votes
0 answers

cqlsh does not show the frozen collection in the table

CREATE TABLE data.banks ( id text, codes frozen> PRIMARY KEY (id,codes)); Added a corresponding model class with @Frozen("map") anotation on codes field Insert goes in properly but when i open cqlsh and…
Prabhath
  • 629
  • 6
  • 13
0
votes
2 answers

For Cassandra kundera.client.lookup.class options

In order to configure kundera for Cassandra, I notice there are 3 possible options for kundera.client.lookup.class as…
Vinod Jayachandran
  • 3,726
  • 8
  • 51
  • 88
0
votes
1 answer

Kundera Cassandra Delete a row based on Indexed column

How to delete rows in cassandra based on an indexed column ? Tried: upload_id is added as an index in the table. Delete from table where upload_id = '"+uploadId+"'" But this gives me an Error "NON PRIMARY KEY found in where clause". String…
Prabhath
  • 629
  • 6
  • 13
0
votes
1 answer

com.impetus.kundera.query.QueryHandlerException: No entity found by the name:

I am getting the following error when I run my application through SBT Console in Intellij IDEA 15, when the list page is opened which shows records from database: com.impetus.kundera.query.QueryHandlerException: No entity found by the name:…
0
votes
1 answer

Unable to connect to Cassandra db through Kundera in Play! framework

I am getting the following error when I run my application through SBT Console in Intellij IDEA. [info] play - Application started (Dev) [error] c.i.c.c.t.ThriftClientFactory - Error during pool creation: caused by org.apache.thrift.TException:…
0
votes
0 answers

Integrating Cassandra database with Play! for Scala framework and Kundera

I am trying to integrate Play! framework with NoSQL database Cassandra. I went through a lot things on internet for Play! framework integration with Cassandra. As for taking an example of SpringMVC, we have Hibernate as ORM tool for making database…