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 cassandra - lightweight transaction in merge method

I am using kundera-cassandra V3.2 and want to update an entity with the method merge. this.getManager().merge(entity); // this.getManager is a javax.persistence.EntityManager Is there a possibility to use a lightweight transaction (IF clause) when…
K.E.
  • 818
  • 2
  • 12
  • 28
0
votes
0 answers

Connect to Cassandra via Kundera using SSL

We are using Kundera to connect to Cassandra, which is working just fine. Now we had to move Cassandra to a distant server what required to encrypt the connections. There is no problem using native Cassandra driver, however we have no clue, how to…
TomS
  • 1,159
  • 2
  • 17
  • 35
0
votes
1 answer

Kundera ClassCastException with MongoDB

I'm using Kundera to do the persistence in MongoDB. I can persist some documents in my collection, but everytime that I try to find a specific document by id, I get this error java.lang.ClassCastException: java.lang.String cannot be cast to…
user1783933
  • 1,105
  • 5
  • 13
  • 23
0
votes
1 answer

Cannot insert timeuuid in Cassandra with Kundera

I have this Cassandra table: CREATE TABLE xxx ( id timeuuid PRIMARY KEY); and this class: @Entity @Table(name = "xxx", schema = "yyy") public class XXX { @Id @GeneratedValue public UUID id; } Upon persisting, I get: Exception in thread…
Piero dS
  • 45
  • 8
0
votes
1 answer

How to do an update cascade in MongoDB using Kundera

I'm using Kundera to do the persistence in MongoDB. In my model, I have entities classes that have a set of variables, some of these are List of another entities classes, and so on. For example, an entity class named RecordVersion that has a list of…
user1783933
  • 1,105
  • 5
  • 13
  • 23
0
votes
1 answer

Composite persistence unit with various JPA versions

We have a problem with multiple persistence units in the same project. We need to use two persistence units in the same time. One "normal" with Hibernate for MySQL and one more with Kundera for Cassandra. The problem is that unlike Hibernate/MySQL,…
TomS
  • 1,159
  • 2
  • 17
  • 35
0
votes
0 answers

Kundera Redis plugin returns empty list on query

I am trying to resolve a problem where I cannot return a list with Kundera query for redis back end. I have problem returning a single entity and no problem persistening entities. However when I try to do a simple select to return a single type it…
Chris Hinshaw
  • 6,967
  • 2
  • 39
  • 65
0
votes
2 answers

Do I need Hadoop in my windows to connect on hbase running on linux?

Do I need Hadoop in my windows to connect on hbase running on ununtu with hadoop? My hbase is running fine on my ubuntu machine. I am able to connect with eclipse on same machine ( I am using kundera to connect hbase). Now I want to connect hbase…
ULLAS K
  • 881
  • 2
  • 11
  • 24
0
votes
1 answer

Kundera and Cassandra unit issue - String as primary key

I have a kundera model entity which has String as the Id. It is defined like this. @Id private String id; I have a method where I am executing native query like this. /** * @param requestId * @return */ public static…
0
votes
1 answer

Kundera Mongodb nearby places

I want to execute below mongodb query using kundera db.storemaster.find( { loc: { $near : {$geometry: { type: \"Point\", coordinates: [ 78.35249829999998, 17.4613602 ] }, $maxDistance: 5000 } }}) Help me..
0
votes
1 answer

Native query support is not enabled in mongoDB

I am new to kundera mongoDb,My problem is when i tried to get the data using native query i am getting below error Exception in thread "main" com.impetus.kundera.query.QueryHandlerException: java.lang.UnsupportedOperationException: Native query…
0
votes
1 answer

Kundera / HBase / Spring: Timeout trying to initialize / update the schema

I am using Spring boot to create a web service and want to persist my data model in HBase. I want to use Kundera for this task. However, I cannot get it to work. When spinning up the application, it starts up, freezes for about a minute and runs…
rabejens
  • 7,594
  • 11
  • 56
  • 104
0
votes
1 answer

How to properly configure Kundera programmatically with Spring Boot from @Bean methods?

I found an acceptable solution. Look below. I want to use Kundera as my persistence provider to store my JPA objects in HBase. I do everything in an annotation-driven way, i.e., I do not have and do not want a persistence.xml. So far I did the…
rabejens
  • 7,594
  • 11
  • 56
  • 104
0
votes
1 answer

which api I use to intergrate Cassandra with spring -rest

I am new Cassandra (not even idea of writing queries) and I want to integrate Cassandra with spring rest application. I go through many links but I am not able to decide which one is better spring-data-Cassandra or Kundera or Easy-Cassandra. Kindly…
rahul
  • 1,062
  • 5
  • 15
  • 31
0
votes
1 answer

How to configure orm.xml entity mapping file with kundera?

I am using kundera version 2.13. I am exploring to use Kundera with Oracle NOSQL db. How do I configure Kundera to use my custom xml mapping file that is generated during runtime? Due to design I can't use annotation for entities(they are also…
PGK
  • 141
  • 3
  • 12