cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

About the Drivers & Stacks category

All applications using Neo4j depend on drivers to execute statements to update or query data. Neo4j drivers are mostly built on the binary Bolt protocol. Official drivers exist for Java, JavaScript, .Net, Python, and Go and more. Other languages (R, ...

yolande by Community Team
  • 360 Views
  • 0 replies
  • 0 kudos

Session from manually created Spring TX

Hello Neo4j and Spring Gurus! I mainly use OGM and @Autwired Sessions and Neo4jRepositories but for certain cronjob-like batch operations I frequently need to handle my own transactions (e.g. begin and commit inside a loop) Currently I use an @Autowi...

chris3 by Graph Buddy
  • 1015 Views
  • 2 replies
  • 0 kudos

JAVA Api - fetch relation without a query

I have a Account class: public class Account implements{ @Id @GeneratedValue private Long id; @Relationship("IN_TENANT") private Tenant tenant; //... getters and setters here } I am trying to fetch account where tenant.id ...

How to use projection with findAll()

Hi, I try to add a method to my Neo4jRepository to find all nodes of a certain label, but I need to use a Projection because I don't want all data, but I cannot find a syntax that fits : public List<PatternPreview> findAllProjectedBy(); This gives Nu...

Using AbstractRoutingDatasource and Spring Data Neo4j

Since I want to use different databases in different scenarios, I want to use AbstractRoutingDatasource. However, I could not find an appropriate setting in which I can use both AbstractRoutingDatasource and Spring Data Neo4j (e.g., using @Transactio...

Issue in merging two schema type

Hello ,i want to merge two schema result for making nodes.Since graphql does not make the statement merge , i am trying this example... type User { id:ID! User_ID:String! Mobile_Number:String! ...

Resolved! FIXED - OGM - AmbiguousBaseClassException

Hi! I'm trying to add dynamic label on an NodeEntity, the storage was fine but when I want to access to the node I got an AmbiguousBaseClassException: java.lang.RuntimeException: org.springframework.dao.InvalidDataAccessApiUsageException: Multiple c...

How can I create constraints using Java API?

How do I create the following constraints with the Java APIs? CREATE CONSTRAINT ON (entity:Entity) ASSERT(entity.prefix, entity.name) IS NODE KEY; CREATE CONSTRAINT ON (entity:Entity) ASSERT exists(entity.name); I am looking at ConstraintCreator API ...

Manually converting Result to NodeEntity

session.query(String s, Map<String, ?> map) returns Result. In the Result, I can get a Path in which there are two nodes() and relationships() methods that give me the nodes an relationships inside the Path. However the nodes are of type org.neo4j.gr...

Resolved! Bolt+routing and PHP

I am setting up a causal cluster for an app that uses the neo4j-php-client library from Graphaware, but it does not seem as though bolt+routing is supported as a protocol. So first question if is that is correct and if that means that I will need to ...