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
1
vote
2 answers

Pagination in kundera-cassandra

I am using kundera-cassandra (V3.2) and want to limit a select query. This is working with following code: TypedQuery query = manager.createQuery(criteriaQuery); query.setMaxResults(limit); My problem is to set a start parameter. I found the…
K.E.
  • 818
  • 2
  • 12
  • 28
1
vote
1 answer

KunderaException : execute_cql3_query failed: out of sequence response

I am trying to insert rows in cassandra using kundera, but if a row with same Primary key already exists, I do a delete + insert. It works fine with single thread and single node cluster. But when extended to 2 nodes and in multi threaded operation,…
Vinod Jayachandran
  • 3,726
  • 8
  • 51
  • 88
1
vote
0 answers

mapping data with kundera and cassandra: Exception in thread "main" com.impetus.kundera.query.QueryHandlerException: No entity found by the name: riro

when I tried mapping data with kundera+cassandra+eclipse, I got this error: Exception in thread "main" com.impetus.kundera.query.QueryHandlerException: No entity found by the name: riro at…
1
vote
1 answer

Wildfly: disable persistence unit lookup

At the very beginning of artifact deploy, Wildfly validates all persistence unit described in persistence.xml. One on the responsible classes is org.jboss.as.jpa.processor.PersistenceUnitServiceHandler from wildfly-jpa library. The main question: is…
1
vote
2 answers

Cannot persist data in Cassandra using Kundera

I tried to connect to cassadra and perform CRUD operation from this link. But after executing the code got the below exception.Can't figure out the problem. SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to…
noisy_boy
  • 11
  • 1
1
vote
0 answers

JPA persistence.xml With SBT Project

I placed the persistence.xml file in history/src/main/resources/META-INF/ yet I am still getting an error. Where should I be putting the XML file, and what should I change with SBT? SBT: lazy val history = (project in file("history")) .settings( …
BAR
  • 15,909
  • 27
  • 97
  • 185
1
vote
1 answer

Is it possible to connect a JPA implementation to a Neo4j specific version?

I have a Java project that use an embedded Neo4j database (NoSQL), version 2.0.0. I need to migrate this data for a traditional relational db (SQL). For this job, I thought that using an implementation of JPA could help. I found these three…
1
vote
0 answers

How to set Isolation level in SpringData Mongo

Mongo allows us to set Isolation level e.g db.foo.update( { status : "A" , $isolated : 1 }, { $inc : { count : 1 } }, { multi: true } ) How can I set the same Isolation level through SpringData/Java Code? Also is there any other way to…
1
vote
2 answers

Kundera cast String "1" to Integer 1 in queries

I got next exception: Caused by: com.impetus.kundera.KunderaException: com.datastax.driver.core.exceptions.InvalidQueryException: Invalid INTEGER constant (1) for promo_code_id of type ascii at…
Dolzhenok
  • 78
  • 6
1
vote
1 answer

Retrieve objects of sub-relation Cassandra with Kundera (Pelops - JPA)

We are getting a null object while retrieving data from Cassandra using JPA annotation OneToOne/OneToMany (see example below, where "item" is null). [ { "idProduct":"095102f1-a987-4f7c-88c3-153d80b6977f", "item":{ …
1
vote
2 answers

Will write consistency set to ONE cause data disappear?

We run into several data disappear issues lately. Our data is log data. It has composite key, (id, requestdate). Our program constantly insert new records into C*. No delete operations. Data was successfully written and was able to select the data…
Yan Liu
  • 11
  • 2
1
vote
1 answer

Kundera Mongodb pass array object in where clause

I want to pass multiple values in where clause,for that i am passing the array but the result returning empty. List stringlist=new ArrayList(); stringlist.add("54aca811edc5a179efd28e55"); …
1
vote
1 answer

packagesToScan property in LocalContainerEntityManagerFactoryBean not working

HI I do have a application where I am trying to create LocalContainerEntityManagerFactoryBean for cassandra... I also have few entities which are mapped and managed by hibernate and that should not be scanned from this EMF... I have added…
Praneeth Ramesh
  • 3,434
  • 1
  • 28
  • 34
1
vote
2 answers

Update CQL Cassandra using Play Framework

I have a requirement where I need to update a column value for CQL cassandra table. I tried Kundera but seems like it is used for TQL Mode. Any pointers to use Play for updating CQL cassandra table??
nothing_authentic
  • 2,927
  • 3
  • 17
  • 22
1
vote
1 answer

cassandra - high concurrency read-write app problems

I'm implementing an app, which is generating hundreds of thousands rows in 4 threads. Each thread opens a separate connection to cassandra. Every item of the table has a unique hash identifier (String), but the primary key is an uuid. The process of…
rastusik
  • 123
  • 9