Quantcast
Browsing all 128 articles
Browse latest View live

[Neo4j] spring-data-neo4j-2.0.1.RELEASE maven issue

Hi all, I have just started to use neo4j with Spring data. I am using maven and POM file. I use for Sring Data neo4j version 2.0.1.RELEASE, for Spring Framework itself version 3.1.2.RELAESE. Th epom...

View Article


Redis Serialization Problems

Hi, I'm putting together a PoC to see if Spring Data Redis is an appropriate solution for a certain problem. Thus far I've got A Jedis connection factory configured and can inject a working...

View Article


[neo4j] Index creation fails when running multiple unit tests

Hi All, We are having problem to run our unit tests (which uses impermanent graph database) from a gradle build script. Note that there are now quite a number of Unit test case files that perform...

View Article

[neo4j] How to get WrappingNeoServerBootstrapper to listen on 0.0.0.0

I posted this on StackOverflow. Hoping someone here can help. http://stackoverflow.com/questions/1...isten-on-0-0-0 Been trying to get the WrappingNeoServerBootstrapper to start the Neo4j WebAdmin...

View Article

Spring Data Mongo not reporting mongo unique constraint error

Hi I am new to using Spring Data with mongo. I configured mongo to have unique contraint on a collection so that the name element is unique. The code works as expected, not allowing duplicates to be...

View Article


[neo4j] QueryResultProxy not Serializable

I'm trying to send a mapped Neo4j query result object (a @MapResult Interface, proxied by QueryResultProxy) over to another JVM using Spring Remoting. Seems the QueryResultProxy object graph is not...

View Article

What's the return type of a @Query for the shortest path?

I'd like to use spring-data @Query to find the shortest path in between two entities. What is the result type supposed to be? Code: @Query( "START u1=node:User(key= {0}), u2=node:User(key = {1}) " +...

View Article

Mongo Custom Converter not triggering.

I am working on spring data mongodb project and i have a complex object that not able to map using metadata mapping because it has composite key. I wrote a custom converter and trying to use...

View Article


Is it possible to run Spring Data Neo4J outside of an ApplicationContext

I know there are lots of things that an ApplicationContext does that sets up Spring Data in the initialization phase. But I was wondering if it might be possible to start up Spring Data Neo4J without...

View Article


can't authenticate twice on same database

regarding mongodb Getting exception Code: java.lang.IllegalStateException: can't authenticate twice on the same database         at com.mongodb.DB.authenticate(DB.java:565)         at...

View Article

MongoDB Restrict Fields Returned in Search (Repository & Template)

I use MongoDB and Spring Data. I typically use repositories to perform CRUD operations. I would like to be able to query a collection, but limit the fields that are returned. If I have: Code: public...

View Article

Multiple neo4j server instances - multiple mapping?

Having 2 running instances of Neo4j server (one on port 7474 and one on 7575), how to handle entity mapping over the two different instances? There is no documentation around, regarding how to map...

View Article

Spring MongoDB: Save a collection (Set, List..) in bulk?

In Spring MongoDB is it possible to upsert a collection in bulk, i.e without iterating it and saving every item separately?

View Article


Spring Data Redis Mock?

Is there a Redis mock available which can be used with the java spring framework? I see ruby and python mocks out there, but don't see one for java. Thanks

View Article

PersistenceConstructor argument variable name doesn't match instance variable...

I'm trying to persist the following object with spring-data-mongodb version 1.1.1.RELEASE: Code: @Document public static class TestObject {         private final int m_property;...

View Article


mongodb Collections are created without any documents in it

Hi there, i'm currently facing the following "problem": I am using two different databases to archieve a better overview and a more comfortable way to administrate them: the first is for my production...

View Article

[spring-data-neo4j] Are there any solutions for such case(From a primer...

I have a problem about the spring data neo4j model mapping. There is a domain model like that Code: class Kn {   @GraphId Long id;     String name;     String title;     String content; } If use the...

View Article


Configuring read preferences for MongoDB in Spring Data on collection level

I am using Spring Data MongoDB latest version 1.1.1RELEASE and wondering if it possible to add read preference on collection level. Something that possible with plain MongoDB driver. I want all my...

View Article

Indexing embedded document collection via @CompoundIndexes

I'm trying to index fields on an embedded collection and the indexes don't seem to be created. For example: Code: @Document @CompoundIndexes({         @CompoundIndex(name = "cred_idx", def = "{...

View Article

help, started with spring data + neo4j + eclipse. Import project.

Hi, I have: - Eclipse juno (java EE IDE) I can´t import this project. I have this project in my pc. - https://github.com/SpringSource/spri...s/hello-worlds How should I import it? - existing projects...

View Article
Browsing all 128 articles
Browse latest View live