Quantcast
Channel: Spring Community Forums - NoSQL
Browsing latest articles
Browse All 128 View Live

Hive Connection Pooling

Trying to implement connection pooling for Hive with BoneCP. Getting following error. Looks like HiveDriver doesn't implement AutoCommit. Is there a way to turn off this setting? HiveConnection...

View Article


Aggregation Field Mapping and

hi, I would like to have a simple field which is the sum of 2 others (auto-calculated) on mongoDB I saw it's possible to use http://docs.mongodb.org/manual/refer...gregation/sum/ Simple collection :...

View Article


Spring data and MongoDb in OSGI

Hi I'm trying to integrate Spring data and MongoDb into our existing OSGI framework. This was working fine until I tried to create some custom mappers, at which point an exception is thrown (see...

View Article

Spring data, MongoDB and custom converters

Hi I'm currently using Spring data for mongodb version 1.1.1.RELEASE. We currently have a document that has an enum as a property, however the value of the enums are not the same as the enum name, i.e....

View Article

Spring Data MongoDB aggregation framework implementation - exceptions

Hello all, I'm trying to use the new implementation of the Mongo Aggregation framework by Spring Data team I'm using the spring-data version 1.3.0.RC1 ! and for reference I'm looking at...

View Article


ID field not populated when saving map

I have a class that extends HashMap: Code: public class CustomMap extends HashMap<String, Object> { ... } Now, when I save an instance of CustomMap, everything gets saved to Mongo correctly....

View Article

Spring data neo4j trying to save non-annotated attributes

I have a particular case where I want to have a class have an API where a NodeEntity is obtained "indirectly" from another NodeEntity directly related to that class. Basically, my model have Concepts...

View Article

Get instance of MongoDB really slow

Hi, I am developing an application which use Spring Data - Mongo as main DB back end. My server acts like a REST API provider, so the resources are protected by Spring oAuth. My main problem is, every...

View Article


Capturing/Returning JSON to MongoDB without binding to a model?

Hello, We have a particular API our developers have been using here for years that they use to store arbitrary metadata about our users. We recently converted it over to a JSON data structure, but,...

View Article


Spring Data MongoDB - mappingConverter mapKeyDotReplacement config problem

I want to set mapKeyDotReplacement property for mappingConverter bean, but I cannot find a working solution for that. I don't need custom converters. This is what I have: Code:     <mongo:db-factory...

View Article

MongoDb compare two fields (Aggregation)

Hi everyone, I am trying to compare two fields from the same document. In MongoDb you can deal with that using two methods: 1) db.T.find( { $where: function() { return this.Grade1 > this.Grade2 } }...

View Article

Problems with the connection pool?

I am facing some issues since I deployed my app a couple of weeks ago! I found that Spring Data gets Mongo down after some time of use and printed this message: "desc": "can't call something :...

View Article

spring-data-mongodb-1.2.0.RELEASE BUG!!! about Criteria $in

when I debug query of criteria $in, i find a bug in the jar: [spring-data-mongodb-1.2.0.RELEASE-sources.jar ] file path: org.springframework.data.mongodb.core.query.Criter ia my paramter is a list,...

View Article


spring-data-mongodb-1.2.0.RELEASE BUG!!! about Criteria $in

when I debug query of criteria $in, i find a bug in the jar: [spring-data-mongodb-1.2.0.RELEASE-sources.jar ] file path: org.springframework.data.mongodb.core.query.Criter ia the expect result is :{...

View Article

spring-data-mongodb-1.2.0.RELEASE BUG!!!

when I debug query of criteria $in, i find a bug in the jar: [spring-data-mongodb-1.2.0.RELEASE-sources.jar ] file path: org.springframework.data.mongodb.core.query.Criter ia my paramter is a list,...

View Article

Browsing latest articles
Browse All 128 View Live