# Neo4j 4.0 Support

**URL:** <https://community.neo4j.com/t/neo4j-4-0-support/14047>\
**Category:** Spring Data Neo4j & Neo4j-OGM\
**Created:** [January 26, 2020, 3:48pm UTC](https://community.neo4j.com/t/neo4j-4-0-support/14047 "2020-01-26T15:48:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shayantest2](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/shayantest2/32/5901_2.png) [@shayantest2](https://community.neo4j.com/u/shayantest2)\
**Post date:** [January 26, 2020, 3:48pm UTC](https://community.neo4j.com/t/neo4j-4-0-support/14047/1 "2020-01-26T15:48:57Z")

</div>

When a version that is compatible with Neo4j 4.0 is expected to be released?

---

<div class="post-metadata">

**Author:** ![gerrit.meier](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/gerrit.meier/32/27374_2.png) [@gerrit.meier](https://community.neo4j.com/u/gerrit.meier)\
**Post date:** [January 27, 2020, 8:07am UTC](https://community.neo4j.com/t/neo4j-4-0-support/14047/2 "2020-01-27T08:07:15Z")

</div>

As @michael_simons1 already answered [here](https://github.com/neo4j/neo4j-ogm/issues/753#issuecomment-578629116).

> Neo4j-OGM using Bolt is compatible with Neo4j 4.0 since Neo4j-OGM 3.2.3.  
> We don't support the embedded version and probably won't do for some time.  
> See our Versions page here: [Versions · neo4j/neo4j-ogm Wiki · GitHub](https://github.com/neo4j/neo4j-ogm/wiki/Versions)

---

<div class="post-metadata">

**Author:** ![marc.seiferle](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/marc.seiferle/32/6498_2.png) [@marc.seiferle](https://community.neo4j.com/u/marc.seiferle)\
**Post date:** [February 12, 2020, 2:11am UTC](https://community.neo4j.com/t/neo4j-4-0-support/14047/3 "2020-02-12T02:11:13Z")

</div>

What are the best practice to use Neo4j 4.0 (SDN) and having integration tests?  
Currently my test dependencies are using the 3.5.x Version of embedded db.  
Is there a sample github repo of the recommended setup/dependencies with Spring Data Neo4j using 4.0 and still having unit / integration tests?

Thank you for your support

---

<div class="post-metadata">

**Author:** ![gerrit.meier](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/gerrit.meier/32/27374_2.png) [@gerrit.meier](https://community.neo4j.com/u/gerrit.meier)\
**Post date:** [February 12, 2020, 9:51pm UTC](https://community.neo4j.com/t/neo4j-4-0-support/14047/4 "2020-02-12T21:51:37Z")

</div>

I would suggest using TestContainers for testing your application. @michael.simons wrote a nice post about this [Testing your Neo4j-based Java application | by Michael Simons | Neo4j Developer Blog | Medium](https://medium.com/neo4j/testing-your-neo4j-based-java-application-34bef487cc3c) (section _Neo4j Testcontainer_)
