Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Spring-Data neo4j
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Javier Molina  
View profile  
 More options Jul 24 2012, 5:23 am
From: Javier Molina <javi.m...@gmail.com>
Date: Tue, 24 Jul 2012 02:23:57 -0700 (PDT)
Local: Tues, Jul 24 2012 5:23 am
Subject: Spring-Data neo4j

Hello!

I'm working in a project related with neo4j. Now I'm trying to use
spring-data neo4j and I have a big problem.

My problem is about spring-data neo4j configuration. When I implement my
app, I have to set some mapped-files size to launch  tests, and this
configuration is never loaded.
I try to implement a bean like this:

<bean id="graphDatabaseService" class=
"org.neo4j.kernel.EmbeddedGraphDatabase"
destroy-method="shutdown" scope="singleton">
<constructor-arg value="target/db" />
<constructor-arg>
<map>
<entry key="use_memory_mapped_buffers" value="true" />
<entry key="cache_type" value="none" />
<entry key="neostore.nodestore.db.mapped_memory" value="10M" />
<entry key="neostore.propertystore.db.mapped_memory" value="40M" />
<entry key="neostore.relationshipstore.db.mapped_memory"
value="2G" />
<entry key="neostore.propertystore.db.index.keys.mapped_memory"
value="5M" />
<entry key="neostore.propertystore.db.index.mapped_memory"
value="5M" />
<entry key="neostore.propertystore.db.strings.mapped_memory"
value="1M" />
<entry key="neostore.propertystore.db.arrays.mapped_memory"
value="0M" />
</map>
</constructor-arg>

<neo4j:config graphDatabaseService="graphDatabaseService" />

and, on the other hand,   I try to read from a neo4j.properties or graph.db
file but neither works.

I'm looking for a solution that allows me set neo4j configuration, if you
help me I'll be grateful.

Thanks a lot.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »