neo4j-driver-java-skill

仓库创建 2026年1月20日最近提交 1 天前SkillHot 收录 21 天前
▸ 精选理由

覆盖同步、异步与 reactive 场景,适合 JVM 项目

这个 Skill 做什么

提供 Neo4j Java 驱动 v6 的配置、事务与性能调优指南

告诉你在 Java/Kotlin 项目里如何配置 Neo4j Java 驱动 v6:从 Maven/Gradle 引入、driver 生命周期、会话与事务,到异步/反应式访问、错误恢复与连接池调优。适合后端服务或批处理场景中对 Neo4j 建连接、处理并发与一致性(bookmarks/causal)时使用。特点是把配置、性能和一致性放在一起讲,便于实战调优。

▸ 展开 SKILL.md 英文原文

Neo4j Java Driver v6 — driver lifecycle, Maven/Gradle setup, executableQuery, executeRead/Write managed transactions, explicit transactions, async/reactive patterns, error handling, data type mapping, connection pool tuning, causal consistency/bookmarks. Use when writing Java or Kotlin code that connects to Neo4j via GraphDatabase.driver, executableQuery, SessionConfig, executeRead, executeWrite, or TransactionCallback. Does NOT handle Cypher authoring — use neo4j-cypher-skill. Does NOT cover driver version upgrades — use neo4j-migration-skill. Does NOT cover Spring Data Neo4j (@Node, Neo4jRepository) — use neo4j-spring-data-skill.

开发编程Neo4jJava驱动异步通用
98
Stars
35
Forks
29
仓库内 Skill
+7
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/neo4j-contrib/neo4j-skills/main/neo4j-driver-java-skill/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/neo4j-contrib/neo4j-skills/main/neo4j-driver-java-skill/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
## When to Use
- Java/Kotlin code connecting to Neo4j (Aura or self-managed)
- Setting up driver, sessions, transactions in Maven/Gradle projects
- Debugging result handling, error recovery, connection pool issues
- Async (`CompletableFuture`) or reactive (Project Reactor / RxJava) Neo4j access

## When NOT to Use
- **Cypher query authoring/optimization** → `neo4j-cypher-skill`
- **Driver version upgrades** → `neo4j-migration-skill`
- **Spring Data Neo4j** (`@Node`, `@Relationship`, `Neo4jRepository`) → `neo4j-spring-data-skill`

---

## Dependency

### Maven
```xml
<dependency>
    <groupId>org.neo4j.driver</groupId>
    <artifactId>neo4j-java-driver</artifactId>
    <version>6.2.0</version
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有