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
  6 messages - 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
 
Michael Hunger  
View profile  
 More options Jul 24 2012, 6:29 am
From: Michael Hunger <michael.hun...@neopersistence.com>
Date: Tue, 24 Jul 2012 11:29:59 +0100
Local: Tues, Jul 24 2012 6:29 am
Subject: Re: [Neo4j] Spring-Data neo4j

This should work
Can you share your full config and how you load the spring context files

And what the actual issue is

Sent from mobile device

Am 24.07.2012 um 10:21 schrieb Javier Molina <javi.m...@gmail.com>:


 
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.
Javier Molina  
View profile  
 More options Jul 26 2012, 3:22 am
From: Javier Molina <javi.m...@gmail.com>
Date: Thu, 26 Jul 2012 00:22:46 -0700 (PDT)
Local: Thurs, Jul 26 2012 3:22 am
Subject: Re: [Neo4j] Spring-Data neo4j

This is my test declaration:

@RunWith(SpringJUnit4ClassRunner.class)

@ContextConfiguration

public class GraphTest {

//    @Value(value = "${spe.depth}")

    private int maxDepth = 2;

    private int TOTAL_IDS = 10000;

    @Autowired

    private GraphDatabaseService graphDatabaseService;

then, I use graphDatabaseService to getIndex().

El martes, 24 de julio de 2012 12:29:59 UTC+2, Michael Hunger escribió:


 
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.
Michael Hunger  
View profile  
 More options Jul 26 2012, 3:44 am
From: Michael Hunger <michael.hun...@neotechnology.com>
Date: Thu, 26 Jul 2012 09:44:28 +0200
Local: Thurs, Jul 26 2012 3:44 am
Subject: Re: [Neo4j] Spring-Data neo4j

what is the complete content of your:

GraphTest-context.xml ?

And how do you check that the config was not used?

Michael

Am 26.07.2012 um 09:22 schrieb Javier Molina:


 
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.
Javier Molina  
View profile  
 More options Jul 27 2012, 3:19 am
From: Javier Molina <javi.m...@gmail.com>
Date: Fri, 27 Jul 2012 00:19:34 -0700 (PDT)
Local: Fri, Jul 27 2012 3:19 am
Subject: Re: [Neo4j] Spring-Data neo4j

This is my .xml:

<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns="http://www.springframework.org/schema/beans" xmlns:context=
"http://www.springframework.org/schema/context"

xmlns:tx="http://www.springframework.org/schema/tx" xmlns:neo4j=
"http://www.springframework.org/schema/data/neo4j"

xmlns:util="http://www.springframework.org/schema/util"

xsi:schemaLocation="

http://www.springframework.org/schema/beans

http://www.springframework.org/schema/beans/spring-beans-3.0.xsd

http://www.springframework.org/schema/context

http://www.springframework.org/schema/context/spring-context-3.0.xsd

http://www.springframework.org/schema/data/neo4j

       http://www.springframework.org/schema/data/neo4j/spring-neo4j-2.0.xsd

        ">

 <context:annotation-config />

 <!-- Getting provided configuration -->

<bean id="propertyConfigurer"

class=
"org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">

<property name="locations" value="graph-test.properties" />

</bean>

 <bean id="graphDatabaseService" class=
"org.neo4j.kernel.EmbeddedGraphDatabase"

destroy-method="shutdown">

<constructor-arg index="0" value="target/db" />

<constructor-arg index="1">

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

</bean>

 <!-- Neo4j configuration (template) -->

<neo4j:config graphDatabaseService="graphDatabaseService" />

<neo4j:config storeDirectory="target/db" />

 <!-- Package w/ automagic repositories -->

<neo4j:repositories base-package="neo4j" />

</beans>

So, to check it, I saw message.log in db/ that specifies neo4j
configuration.

Thanks.

El jueves, 26 de julio de 2012 09:44:28 UTC+2, Michael Hunger escribió:


 
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.
Michael Hunger  
View profile  
 More options Jul 27 2012, 3:40 am
From: Michael Hunger <michael.hun...@neotechnology.com>
Date: Fri, 27 Jul 2012 09:40:04 +0200
Local: Fri, Jul 27 2012 3:40 am
Subject: Re: [Neo4j] Spring-Data neo4j

Remove this line

<neo4j:config storeDirectory="target/db" />

This overrides the previous:    <neo4j:config graphDatabaseService="graphDatabaseService" />
which is the real one.

Michael

Am 27.07.2012 um 09:19 schrieb Javier Molina:


 
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.
Javier Molina  
View profile  
 More options Jul 27 2012, 6:11 am
From: Javier Molina <javi.m...@gmail.com>
Date: Fri, 27 Jul 2012 03:11:37 -0700 (PDT)
Local: Fri, Jul 27 2012 6:11 am
Subject: Re: [Neo4j] Spring-Data neo4j

I fix it with yours suggestion.

Thanks a lot.

El viernes, 27 de julio de 2012 09:40:04 UTC+2, Michael Hunger escribió:


 
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 »