Quantcast
Channel: Spring Community Forums - NoSQL
Browsing index pages (128 articles)

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


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!!! 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

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

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


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

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

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


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


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

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


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

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


QueryDSL/MongoDB Date Range Not Working

Query generate startDate >= Mon Sep 02 00:00:00 CDT 2013 && startDate <= Sun Sep 15 23:59:59 CDT 2013 Results brought back include dates outside the range. Code:...

View Article

Neo4J - Problem persisting a object with multiple fields anotated with...

Hi, I have a @NodeEntity Class with multiple fields annotated with "@Indexed(unique = true)" (see below). I'd like these fields to be unique. When I try to persist the Object with GraphRepository, I...

View Article


Why Am I Getting A Null Pointer Exception

Im using spring and neo4j to make an application that stores peoples information in a database. Every time I launch my application im getting this error but cant figure out why. My code is below the...

View Article

@Controller Annotation Never Gets Called

I am trying to develop an app using neo4j database. I am completely new to this service but made a few classes to test it out. One of my classes is the controller but when I debug the index.jsp...

View Article

Problems with Jackson / Redis hash mapping of nulls & collections

I'm having some problems with Redis / Jackson integration, and I'm unsure if it's a bug in the code, or something I've configured incorrectly. It appears that null values, and collections are not...

View Article
Browsing index pages (128 articles)


Latest Images