Re: [Neo4j] Spring Data Graph 1.1.0
Hi, if you look at https://github.com/SpringSource/spring-data-graph-examples/blob/master/hello-worlds/pom.xml I think you need to add the Springsource repo in order to find the artifacts? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, Aug 23, 2011 at 12:10 AM, etc1 e...@nextideapartners.com wrote: Hi, I updated my pom to reflect this new release.. data-graph.version1.1.0.RELEASE/data-graph.version ...but I'm getting an error saying the resource can't be found... [INFO] Unable to find resource 'org.springframework.data:spring-data-graph-core:jar:1.1.0.RELEASE' in repository central (http://repo1.maven.org/maven2) [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.springframework.data:spring-data-graph-core:jar:1.1.0.RELEASE Try downloading the file manually from the project website. Missing something? -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Andreas Kollegger Sent: Friday, August 19, 2011 2:58 PM To: Neo4j user discussions Subject: [Neo4j] Spring Data Graph 1.1.0 Hello Graphistas, We are pleased to announce that the second release (1.1.0.RELEASE) of the Spring Data Graph project with Neo4j support is now available! The key new features in the Spring Data Graph 1.1.0.RELEASE include: * Added Gremlin and Cypher support * Improved Neo4j Template * Improved REST API wrapper * documentation updates Read more details about it at http://blog.neo4j.org/2011/08/spring-data-graph-1.html Cheers, Andreas ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Spring Data Graph 1.1.0
This file spring-data-graph-core is no longer there. It should be enough if you'd depend on org.springframework.data : spring-data-graph-neo4j : 1.1.0.RELEASE see here: http://search.maven.org./#artifactdetails%7Corg.springframework.data%7Cspring-data-neo4j%7C1.1.0.RELEASE%7Cjar Michael Am 23.08.2011 um 00:10 schrieb etc1: Hi, I updated my pom to reflect this new release.. data-graph.version1.1.0.RELEASE/data-graph.version ...but I'm getting an error saying the resource can't be found... [INFO] Unable to find resource 'org.springframework.data:spring-data-graph-core:jar:1.1.0.RELEASE' in repository central (http://repo1.maven.org/maven2) [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.springframework.data:spring-data-graph-core:jar:1.1.0.RELEASE Try downloading the file manually from the project website. Missing something? -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Andreas Kollegger Sent: Friday, August 19, 2011 2:58 PM To: Neo4j user discussions Subject: [Neo4j] Spring Data Graph 1.1.0 Hello Graphistas, We are pleased to announce that the second release (1.1.0.RELEASE) of the Spring Data Graph project with Neo4j support is now available! The key new features in the Spring Data Graph 1.1.0.RELEASE include: * Added Gremlin and Cypher support * Improved Neo4j Template * Improved REST API wrapper * documentation updates Read more details about it at http://blog.neo4j.org/2011/08/spring-data-graph-1.html Cheers, Andreas ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Spring Data Graph 1.1.0
Hi, I updated my pom to reflect this new release.. data-graph.version1.1.0.RELEASE/data-graph.version ...but I'm getting an error saying the resource can't be found... [INFO] Unable to find resource 'org.springframework.data:spring-data-graph-core:jar:1.1.0.RELEASE' in repository central (http://repo1.maven.org/maven2) [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.springframework.data:spring-data-graph-core:jar:1.1.0.RELEASE Try downloading the file manually from the project website. Missing something? -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Andreas Kollegger Sent: Friday, August 19, 2011 2:58 PM To: Neo4j user discussions Subject: [Neo4j] Spring Data Graph 1.1.0 Hello Graphistas, We are pleased to announce that the second release (1.1.0.RELEASE) of the Spring Data Graph project with Neo4j support is now available! The key new features in the Spring Data Graph 1.1.0.RELEASE include: * Added Gremlin and Cypher support * Improved Neo4j Template * Improved REST API wrapper * documentation updates Read more details about it at http://blog.neo4j.org/2011/08/spring-data-graph-1.html Cheers, Andreas ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] Spring Data Graph 1.1.0
Hello Graphistas, We are pleased to announce that the second release (1.1.0.RELEASE) of the Spring Data Graph project with Neo4j support is now available! The key new features in the Spring Data Graph 1.1.0.RELEASE include: * Added Gremlin and Cypher support * Improved Neo4j Template * Improved REST API wrapper * documentation updates Read more details about it at http://blog.neo4j.org/2011/08/spring-data-graph-1.html Cheers, Andreas ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] Spring Data Graph 1.1.0.M2 released
Dear Graphistas, I'd like to inform you that we released the M2 milestone of Spring Data Graph 1.1.0. The most obvious change is repackaging, sorry for that but the Spring Data project decided to move all packages to org.springsource.data.datastore so ours will be org.springsource.data.neo4j For the final release we will further clean up the module structure and (perhaps) move to gradle as build system. There might also be a new github repository but that's not for sure. The real changes this time were around the Neo4jTemplate which got a complete API overhaul. During that we also added Cypher support for the template. It is now also possible to use Cypher transparently to a remote REST Server via the CypherPlugin that is packaged with the Neo4j Server since 1.4. Speaking of that Spring Data Graph was also updated to Neo4j 1.4. Then there were some internal enhancements, mostly about lingering REST connections and some less frequent error cases. For the final release which is due next week we plan the following: * Spring Roo Addon with Graph Entity support * Gremlin Support * Documentation updates * Update of all examples and sample apps Here is a link to the official announcement: http://www.springsource.org/node/3185 Thanks to the Springsource team for their support during development, on build issues and performing the release. And the community for the rich feedback in the Springsource forums: http://forum.springsource.org/forumdisplay.php?80-NoSQL Cheers Michael ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Spring Data Graph 1.1.0.M1 milestone released
Thanks a lot. On Thu, Jun 16, 2011 at 3:20 PM, Michael Hunger michael.hun...@neotechnology.com wrote: You could just use the direct repository factory for that. directGraphRepositoryFactory.createGraphRepository(clazz).findAll() normally you would have a interface PersonRepository extends GraphRepositoryPerson {} yep. that looks like a good solution. My use case is a bit special - ie I have a a lot of classes and having repos for each would be a waste. But again that's because we're using this technology in a weird way (20 domain classes) On the other hand - graph db is probably the best option for us, as having 20 tables instead would make it a nightmare. So in a way it really supports the case for neo4j, although such application is really a niche one. and get this injected. @Autowired PersonRepository personRepository; personRepository.findAll(); Cheers Michael Today I discussed some nice derived-method for cypher queries. See: https://github.com/SpringSource/spring-data-graph/wiki/Repository-query-methods Am 16.06.2011 um 14:30 schrieb Alfredas Chmieliauskas: Dear Michael, sounds great! Especially the annotated repository methods. That was something *really* desirable and now its there. Fantastischt! One question though. Before the upgrade i used to have a handy method to find all things of a type (Class) by using a method like public T extends NodeBacked IterableT findAll(ClassT clazz) { finderFactory.createNodeEntityFinder(clazz).findAll(); } is there a good way to replicate such functionality in the current release? Alfredas P.S. we're delayed with publishing our energy simulations (bureaucracy problems more than technical or conceptual). but i'm still determined to make it happen (publish the thing online) before summer end. On Wed, Jun 15, 2011 at 10:17 AM, Michael Hunger michael.hun...@neotechnology.com wrote: Dear Graphistas, After some quiet time that I spend on other important issues, we're back on our regular release cycle/rhythm. We discussed the future SDG roadmap with our CEO Emil and decided to work first on the issues that were reported by our users here on the mailing list, on the spring forums and on twitter. So primarily we updated the dependencies to Neo4j 1.4.M04 and AspectJ (1.6.12.M1), the latter fixing some issues. With the new Neo4j release we are also able to start working some important new features. The most interesting one is the adoption of the query language cypher which is now accessible from NodeEntities (dynamic annotated fields, introduced methods) and repositories (annotated repository interface methods). (https://jira.springsource.org/browse/DATAGRAPH-91) Example, NodeEntity-field: @GraphQuery(start me=(%d) match (me)-[:works_at]-(company)-[:works_at]-(colleague) return colleague) IterablePerson colleagues; Example, Repository: interface PersonRepository extends GraphRepositoryPerson { @GraphQuery(start person=(%d) match (person)-[:boss]-(boss) return boss) Person findBoss(Person developer); } We also accommodate for the change of allowing self-relationships. Another annoyance for SDG users - the need to specify an elementClass on @RelatedTo annotations has also been removed this change will also be added to the other annotations that we use. We would like to get your feedback on those changes and also on Spring Data Graph in general, so please check it out and get back to us. And please spread the word: http://twitter.com/#!/neo4j/statuses/80503228319547392 Cheers Michael Announcement: http://www.springsource.org/node/3152 JIRA: https://jira.springsource.org/browse/DATAGRAPH Project Page: http://www.springsource.org/spring-data/neo4j Forum: forum.springsource.org/forumdisplay.php?f=80 Github: http://github.com/springsource/spring-data-graph Download: http://www.springsource.com/download/community?project=Spring%20Data%20Neo4j ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Spring Data Graph 1.1.0.M1 milestone released
You could just use the direct repository factory for that. directGraphRepositoryFactory.createGraphRepository(clazz).findAll() normally you would have a interface PersonRepository extends GraphRepositoryPerson {} and get this injected. @Autowired PersonRepository personRepository; personRepository.findAll(); Cheers Michael Today I discussed some nice derived-method for cypher queries. See: https://github.com/SpringSource/spring-data-graph/wiki/Repository-query-methods Am 16.06.2011 um 14:30 schrieb Alfredas Chmieliauskas: Dear Michael, sounds great! Especially the annotated repository methods. That was something *really* desirable and now its there. Fantastischt! One question though. Before the upgrade i used to have a handy method to find all things of a type (Class) by using a method like public T extends NodeBacked IterableT findAll(ClassT clazz) { finderFactory.createNodeEntityFinder(clazz).findAll(); } is there a good way to replicate such functionality in the current release? Alfredas P.S. we're delayed with publishing our energy simulations (bureaucracy problems more than technical or conceptual). but i'm still determined to make it happen (publish the thing online) before summer end. On Wed, Jun 15, 2011 at 10:17 AM, Michael Hunger michael.hun...@neotechnology.com wrote: Dear Graphistas, After some quiet time that I spend on other important issues, we're back on our regular release cycle/rhythm. We discussed the future SDG roadmap with our CEO Emil and decided to work first on the issues that were reported by our users here on the mailing list, on the spring forums and on twitter. So primarily we updated the dependencies to Neo4j 1.4.M04 and AspectJ (1.6.12.M1), the latter fixing some issues. With the new Neo4j release we are also able to start working some important new features. The most interesting one is the adoption of the query language cypher which is now accessible from NodeEntities (dynamic annotated fields, introduced methods) and repositories (annotated repository interface methods). (https://jira.springsource.org/browse/DATAGRAPH-91) Example, NodeEntity-field: @GraphQuery(start me=(%d) match (me)-[:works_at]-(company)-[:works_at]-(colleague) return colleague) IterablePerson colleagues; Example, Repository: interface PersonRepository extends GraphRepositoryPerson { @GraphQuery(start person=(%d) match (person)-[:boss]-(boss) return boss) Person findBoss(Person developer); } We also accommodate for the change of allowing self-relationships. Another annoyance for SDG users - the need to specify an elementClass on @RelatedTo annotations has also been removed this change will also be added to the other annotations that we use. We would like to get your feedback on those changes and also on Spring Data Graph in general, so please check it out and get back to us. And please spread the word: http://twitter.com/#!/neo4j/statuses/80503228319547392 Cheers Michael Announcement: http://www.springsource.org/node/3152 JIRA: https://jira.springsource.org/browse/DATAGRAPH Project Page: http://www.springsource.org/spring-data/neo4j Forum: forum.springsource.org/forumdisplay.php?f=80 Github: http://github.com/springsource/spring-data-graph Download: http://www.springsource.com/download/community?project=Spring%20Data%20Neo4j ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Spring Data Graph 1.1.0.M1 milestone released
please give the maven repository information from where it can be downloaded. On Thu, Jun 16, 2011 at 6:50 PM, Michael Hunger michael.hun...@neotechnology.com wrote: You could just use the direct repository factory for that. directGraphRepositoryFactory.createGraphRepository(clazz).findAll() normally you would have a interface PersonRepository extends GraphRepositoryPerson {} and get this injected. @Autowired PersonRepository personRepository; personRepository.findAll(); Cheers Michael Today I discussed some nice derived-method for cypher queries. See: https://github.com/SpringSource/spring-data-graph/wiki/Repository-query-methods Am 16.06.2011 um 14:30 schrieb Alfredas Chmieliauskas: Dear Michael, sounds great! Especially the annotated repository methods. That was something *really* desirable and now its there. Fantastischt! One question though. Before the upgrade i used to have a handy method to find all things of a type (Class) by using a method like public T extends NodeBacked IterableT findAll(ClassT clazz) { finderFactory.createNodeEntityFinder(clazz).findAll(); } is there a good way to replicate such functionality in the current release? Alfredas P.S. we're delayed with publishing our energy simulations (bureaucracy problems more than technical or conceptual). but i'm still determined to make it happen (publish the thing online) before summer end. On Wed, Jun 15, 2011 at 10:17 AM, Michael Hunger michael.hun...@neotechnology.com wrote: Dear Graphistas, After some quiet time that I spend on other important issues, we're back on our regular release cycle/rhythm. We discussed the future SDG roadmap with our CEO Emil and decided to work first on the issues that were reported by our users here on the mailing list, on the spring forums and on twitter. So primarily we updated the dependencies to Neo4j 1.4.M04 and AspectJ (1.6.12.M1), the latter fixing some issues. With the new Neo4j release we are also able to start working some important new features. The most interesting one is the adoption of the query language cypher which is now accessible from NodeEntities (dynamic annotated fields, introduced methods) and repositories (annotated repository interface methods). (https://jira.springsource.org/browse/DATAGRAPH-91) Example, NodeEntity-field: @GraphQuery(start me=(%d) match (me)-[:works_at]-(company)-[:works_at]-(colleague) return colleague) IterablePerson colleagues; Example, Repository: interface PersonRepository extends GraphRepositoryPerson { @GraphQuery(start person=(%d) match (person)-[:boss]-(boss) return boss) Person findBoss(Person developer); } We also accommodate for the change of allowing self-relationships. Another annoyance for SDG users - the need to specify an elementClass on @RelatedTo annotations has also been removed this change will also be added to the other annotations that we use. We would like to get your feedback on those changes and also on Spring Data Graph in general, so please check it out and get back to us. And please spread the word: http://twitter.com/#!/neo4j/statuses/80503228319547392 Cheers Michael Announcement: http://www.springsource.org/node/3152 JIRA: https://jira.springsource.org/browse/DATAGRAPH Project Page: http://www.springsource.org/spring-data/neo4j Forum: forum.springsource.org/forumdisplay.php?f=80 Github: http://github.com/springsource/spring-data-graph Download: http://www.springsource.com/download/community?project=Spring%20Data%20Neo4j ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Spring Data Graph 1.1.0.M1 milestone released
repository idspring-maven-milestone/id nameSpring Maven Milestone Repository/name urlhttp://maven.springframework.org/milestone/url /repository dependency groupIdorg.springframework.data/groupId artifactIdspring-data-neo4j/artifactId version1.1.0.M1/version /dependency Am 16.06.2011 um 16:10 schrieb Vipul Gupta: please give the maven repository information from where it can be downloaded. On Thu, Jun 16, 2011 at 6:50 PM, Michael Hunger michael.hun...@neotechnology.com wrote: You could just use the direct repository factory for that. directGraphRepositoryFactory.createGraphRepository(clazz).findAll() normally you would have a interface PersonRepository extends GraphRepositoryPerson {} and get this injected. @Autowired PersonRepository personRepository; personRepository.findAll(); Cheers Michael Today I discussed some nice derived-method for cypher queries. See: https://github.com/SpringSource/spring-data-graph/wiki/Repository-query-methods Am 16.06.2011 um 14:30 schrieb Alfredas Chmieliauskas: Dear Michael, sounds great! Especially the annotated repository methods. That was something *really* desirable and now its there. Fantastischt! One question though. Before the upgrade i used to have a handy method to find all things of a type (Class) by using a method like public T extends NodeBacked IterableT findAll(ClassT clazz) { finderFactory.createNodeEntityFinder(clazz).findAll(); } is there a good way to replicate such functionality in the current release? Alfredas P.S. we're delayed with publishing our energy simulations (bureaucracy problems more than technical or conceptual). but i'm still determined to make it happen (publish the thing online) before summer end. On Wed, Jun 15, 2011 at 10:17 AM, Michael Hunger michael.hun...@neotechnology.com wrote: Dear Graphistas, After some quiet time that I spend on other important issues, we're back on our regular release cycle/rhythm. We discussed the future SDG roadmap with our CEO Emil and decided to work first on the issues that were reported by our users here on the mailing list, on the spring forums and on twitter. So primarily we updated the dependencies to Neo4j 1.4.M04 and AspectJ (1.6.12.M1), the latter fixing some issues. With the new Neo4j release we are also able to start working some important new features. The most interesting one is the adoption of the query language cypher which is now accessible from NodeEntities (dynamic annotated fields, introduced methods) and repositories (annotated repository interface methods). (https://jira.springsource.org/browse/DATAGRAPH-91) Example, NodeEntity-field: @GraphQuery(start me=(%d) match (me)-[:works_at]-(company)-[:works_at]-(colleague) return colleague) IterablePerson colleagues; Example, Repository: interface PersonRepository extends GraphRepositoryPerson { @GraphQuery(start person=(%d) match (person)-[:boss]-(boss) return boss) Person findBoss(Person developer); } We also accommodate for the change of allowing self-relationships. Another annoyance for SDG users - the need to specify an elementClass on @RelatedTo annotations has also been removed this change will also be added to the other annotations that we use. We would like to get your feedback on those changes and also on Spring Data Graph in general, so please check it out and get back to us. And please spread the word: http://twitter.com/#!/neo4j/statuses/80503228319547392 Cheers Michael Announcement: http://www.springsource.org/node/3152 JIRA: https://jira.springsource.org/browse/DATAGRAPH Project Page: http://www.springsource.org/spring-data/neo4j Forum: forum.springsource.org/forumdisplay.php?f=80 Github: http://github.com/springsource/spring-data-graph Download: http://www.springsource.com/download/community?project=Spring%20Data%20Neo4j ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] Spring Data Graph 1.1.0.M1 milestone released
Dear Graphistas, After some quiet time that I spend on other important issues, we're back on our regular release cycle/rhythm. We discussed the future SDG roadmap with our CEO Emil and decided to work first on the issues that were reported by our users here on the mailing list, on the spring forums and on twitter. So primarily we updated the dependencies to Neo4j 1.4.M04 and AspectJ (1.6.12.M1), the latter fixing some issues. With the new Neo4j release we are also able to start working some important new features. The most interesting one is the adoption of the query language cypher which is now accessible from NodeEntities (dynamic annotated fields, introduced methods) and repositories (annotated repository interface methods). (https://jira.springsource.org/browse/DATAGRAPH-91) Example, NodeEntity-field: @GraphQuery(start me=(%d) match (me)-[:works_at]-(company)-[:works_at]-(colleague) return colleague) IterablePerson colleagues; Example, Repository: interface PersonRepository extends GraphRepositoryPerson { @GraphQuery(start person=(%d) match (person)-[:boss]-(boss) return boss) Person findBoss(Person developer); } We also accommodate for the change of allowing self-relationships. Another annoyance for SDG users - the need to specify an elementClass on @RelatedTo annotations has also been removed this change will also be added to the other annotations that we use. We would like to get your feedback on those changes and also on Spring Data Graph in general, so please check it out and get back to us. And please spread the word: http://twitter.com/#!/neo4j/statuses/80503228319547392 Cheers Michael Announcement: http://www.springsource.org/node/3152 JIRA: https://jira.springsource.org/browse/DATAGRAPH Project Page: http://www.springsource.org/spring-data/neo4j Forum: forum.springsource.org/forumdisplay.php?f=80 Github: http://github.com/springsource/spring-data-graph Download: http://www.springsource.com/download/community?project=Spring%20Data%20Neo4j ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user