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
1 answer

Nested Embedding in Kundera

I have 2 Embeddable objects and 1 Entity object. I want to use first Embeddable object inside another. Currently its not working for me. Below is the code Class 1 @Embeddable public class Object1{ public Object1{ } @Column(name =…
Abhijith Nagaraja
  • 3,370
  • 6
  • 27
  • 55
1
vote
2 answers

Kundera No Entity metadata found for the class

I get an error "No Entity metadata found for the class" using Kundera a similiar question is here, No Entity metadata found for the class but didn't find an answer (answer put META-INF into classes dir, didn't help me. This is the error I get 3168…
1
vote
1 answer

Kundera support for sharding?

I am trying to make kundera to work with cassandra and mySql also looking for mysql sharding? Need some help with rdbms sharding with kundera.
shiva.n404
  • 463
  • 1
  • 7
  • 18
1
vote
2 answers

How do I enable show_sql or the equivalent in kundera for cassandra?

I have a requirement to monitor and evaluate based on cql logs. I have tried to set show.sql/show_sql and show.cql/show_cql in persistence.xml but nothing seems to help.
Yeshvanthni
  • 207
  • 2
  • 15
1
vote
1 answer

Getting the error NoSuchMethodError: org.apache.cassandra.thrift.TBinaryProtocol when using Apache Cassandra,Kundera,Spring MVC

I keep getting the message java.lang.NoSuchMethodError: org.apache.cassandra.thrift.TBinaryProtocol: method (Lorg/apache/thrift/transport/TTransport;)V not found at…
Timothy Tuti
  • 992
  • 2
  • 15
  • 29
1
vote
1 answer

Kundera&MongoDB (in Play 2.1.3) bi-directional relationship doesn't get referenced correctly on the DB

I'm using Kundera with Mongo and Play 2.1.3. My application has a User entity and a Document entity. The User has multiple Documents (oneToMany) and a Document belongs to a User. I first create and persist the User and the Documents can be added…
Cat Simoes
  • 65
  • 2
  • 9
1
vote
2 answers

Kundera (JPA) - Could not find any META-INF/persistence.xml file in the classpath

I am trying to play around with Kundera 2.5.1 on JBoss EAP 6.1 (essentially the same as JBoss AS 7.1). However, when I deploy my application, I see the following Exception: [0m[31m12:44:24,119 ERROR org.jboss.msc.service.fail MSC000001: Failed to…
Shadowman
  • 11,150
  • 19
  • 100
  • 198
1
vote
1 answer

Kundera with cassandra1.1.9 and play framework2.0.4

I tried the kundera cassandra over java play framework 2.0.4 example on [https://github.com/firekat/play-kundera] (https://github.com/firekat/play-kundera). I got exception.. exception stack trace 2013-02-03 22:56:35,201 - [ERROR] - from…
gabby
  • 629
  • 2
  • 11
  • 34
1
vote
2 answers

Connection and CRUD operation over kundera Cassandra and Play framework

I am trying to connect Cassandra 1.1.9 over Kundera with Play 2.0 framework. I tried the example Getting-Started-in-5-minutes on GitHub. But I got this exception: [PersistenceLoaderException:…
gabby
  • 629
  • 2
  • 11
  • 34
1
vote
3 answers

Connection type of JPA when using Kundera with Cassandra?

Does Java use a TCP connection for JPA requests to database? For example, if the database server has its IP address set to x.x.x.x:xxxx, what kind of proxy can handle that connection ? HTTP or TCP proxy ?
Xitrum
  • 7,765
  • 26
  • 90
  • 126
1
vote
1 answer

How do I search on Indexed column in Cassandra using Java-Thrift API

I have a column family in Cassandra and on one particular column, I have secondary index defined. I want to fetch row key for this particular column value. How can I achieve this using plain Thrift API for Java? In Pelops I achieve this by creating…
Amresh
  • 478
  • 1
  • 6
  • 28
1
vote
3 answers

Kundera for Cassandra - Deleting record by row key

I'm trying to delete specific record from database by row key. But when I try to execute this query: Query query = em.createQuery( "DELETE FROM User u WHERE u.userId = :u"); query.setParameter("u", userID).executeUpdate(); I got this…
ShP
  • 1,143
  • 1
  • 12
  • 41
1
vote
0 answers

com.impetus.kundera.metadata.KunderaMetadataManager - No Entity metadata found for the class

I'm trying to uses queries in my Cassandra DB with Kundera (Cassandra ORM), this queries work in an others project but when I try to do it in webapp (using tomcat 6.0), I got this error : com.impetus.kundera.metadata.KunderaMetadataManager - No…
superstarz
  • 89
  • 1
  • 11
1
vote
2 answers

Nullpointer exception is thrown while using getResultList() method in Kundera

I am using Kundera as JPA with HBase and java. Following is the method which call getResultList() method: @Override public List getAllActivities() { em = emf.createEntityManager(); Query q =…
Nishu Tayal
  • 20,106
  • 8
  • 49
  • 101
0
votes
1 answer

cannot store list of objects as one of the parameters of a parent object in cassandra using Kundera

I have a list of objects that i store in cassandra, [ { deviceId: [xxxx], status: On, metric: Metric(Watts=10,Current=10), resources: Resources(cpu=u'2', memory=u'512Mi'), deviceName: ['test'], deviceUsageParams :…