# \#ogm

**URL:** https://community.neo4j.com/tag/ogm/382.md

[Latest](https://community.neo4j.com/latest.md) · [Categories](https://community.neo4j.com/categories.md) · [Tags](https://community.neo4j.com/tags.md)

---

## [Object Graph Mapper for .NET](https://community.neo4j.com/t/object-graph-mapper-for-net/17822)

<div class="topic-metadata">

**Author:** [@michalkomorowski1984](https://community.neo4j.com/u/michalkomorowski1984)\
**Replies:** 7\
**Last updated:** [June 28, 2025, 10:44pm UTC](https://community.neo4j.com/t/object-graph-mapper-for-net/17822 "2025-06-28T22:44:37Z")

</div>

I know that there is an official Object Graph Mapper for Java. However, I haven't found anything official for .NET so I searched for solutions from the community and I found two: https://www.blueprint41.com/ GitHub - …

---

## [@NodeEntity + ClassNotFoundException = Error executing query : Error mapping GraphModel. Rolling back transaction](https://community.neo4j.com/t/nodeentity-classnotfoundexception-error-executing-query-error-mapping-graphmodel-rolling-back-transaction/72462)

<div class="topic-metadata">

**Author:** [@david.cabillic1](https://community.neo4j.com/u/david.cabillic1)\
**Replies:** 2\
**Last updated:** [January 29, 2025, 1:56pm UTC](https://community.neo4j.com/t/nodeentity-classnotfoundexception-error-executing-query-error-mapping-graphmodel-rolling-back-transaction/72462 "2025-01-29T13:56:47Z")

</div>

Hi, I'm using Quarkus OGM 3.11.0 (neo4j-ogm-core 4.0.13) and I have an issue with some entities. In org.neo4j.ogm.metadata.DescriptorMappings#computeType(String) (line 128) a ClassNotFoundException is raised because th…

---

## [Neo4j OGM for NodeJs](https://community.neo4j.com/t/neo4j-ogm-for-nodejs/71164)

<div class="topic-metadata">

**Author:** [@nguyenhung1012003](https://community.neo4j.com/u/nguyenhung1012003)\
**Replies:** 0\
**Last updated:** [October 25, 2024, 3:51pm UTC](https://community.neo4j.com/t/neo4j-ogm-for-nodejs/71164 "2024-10-25T15:51:05Z")

</div>

I'm design an NodeJs application with DDD (Domain Driven Design). I need to defined domain entity but i don't know any OGM tool which can help me defined these domain entity. In java I found an OGM for this but I can't …

---

## [New Blog: Building a Movie Recommendation System With Neo4j](https://community.neo4j.com/t/new-blog-building-a-movie-recommendation-system-with-neo4j/69705)

<div class="topic-metadata">

**Author:** [@alexander.erdl](https://community.neo4j.com/u/alexander.erdl)\
**Replies:** 0\
**Last updated:** [September 13, 2024, 3:21pm UTC](https://community.neo4j.com/t/new-blog-building-a-movie-recommendation-system-with-neo4j/69705 "2024-09-13T15:21:11Z")

</div>

This blog details how to build a recommendation system using Neo4j. The focus is on recommending movies to users based on their reading histories and ratings. It covers the setup of Neo4j, mapping data into Java with Neo…

---

## [Typed selectionSet in OGM query](https://community.neo4j.com/t/typed-selectionset-in-ogm-query/69600)

<div class="topic-metadata">

**Author:** [@sb\_neo4j](https://community.neo4j.com/u/sb_neo4j)\
**Replies:** 1\
**Last updated:** [September 6, 2024, 9:47am UTC](https://community.neo4j.com/t/typed-selectionset-in-ogm-query/69600 "2024-09-06T09:47:16Z")

</div>

I'm using selectonSet in a mutation in OGM, and all works fine using a string literal with gql. Ideally though I'd like to add type safety here, so in the same way that my where clause is type safe through the generated…

---

## [How do I perform a case-insensitive search in Neo4j GraphQL with Apollo Server, using an OGM (Object Graph Mapper) model? Please provide suggestions](https://community.neo4j.com/t/how-do-i-perform-a-case-insensitive-search-in-neo4j-graphql-with-apollo-server-using-an-ogm-object-graph-mapper-model-please-provide-suggestions/69067)

<div class="topic-metadata">

**Author:** [@veerendra.idealittec](https://community.neo4j.com/u/veerendra.idealittec)\
**Replies:** 1\
**Last updated:** [August 27, 2024, 7:14am UTC](https://community.neo4j.com/t/how-do-i-perform-a-case-insensitive-search-in-neo4j-graphql-with-apollo-server-using-an-ogm-object-graph-mapper-model-please-provide-suggestions/69067 "2024-08-27T07:14:00Z")

</div>

let where = { hasUser\_ALL: { id\_IN: inviteList } }; if (ProfileWhere && ProfileWhere.displayName\_MATCHES) { where.displayName\_MATCHES = \`(?i)${ProfileWhere.displayName\_MATCHES}.\*\`; } console.l…

---

## [Neo4j OGM + Spring config doesn't work](https://community.neo4j.com/t/neo4j-ogm-spring-config-doesnt-work/69156)

<div class="topic-metadata">

**Author:** [@sem](https://community.neo4j.com/u/sem)\
**Replies:** 10\
**Last updated:** [August 15, 2024, 2:11pm UTC](https://community.neo4j.com/t/neo4j-ogm-spring-config-doesnt-work/69156 "2024-08-15T14:11:49Z")

</div>

Hi, When using the Neo4j-OGM dependency for Java, we run into a problem where the amount of threads keeps increasing until the server doesn't have enough CPU power left to sustain the threads. We think we've narrowed do…

---

## [OGM vs direct Cypher Application Development](https://community.neo4j.com/t/ogm-vs-direct-cypher-application-development/69038)

<div class="topic-metadata">

**Author:** [@Ken-B](https://community.neo4j.com/u/Ken-B)\
**Replies:** 2\
**Last updated:** [July 30, 2024, 12:26pm UTC](https://community.neo4j.com/t/ogm-vs-direct-cypher-application-development/69038 "2024-07-30T12:26:57Z")

</div>

Hello community! Thanks for your feedback on the pro's and con's of using Java Spring Boot vs direct Cypher queries in application code. Question 1) Neo4j Team - do you have data on the percentage of corporate applicat…

---

## [InMemory server for e2e testing](https://community.neo4j.com/t/inmemory-server-for-e2e-testing/68891)

<div class="topic-metadata">

**Author:** [@sb\_neo4j](https://community.neo4j.com/u/sb_neo4j)\
**Replies:** 2\
**Last updated:** [July 18, 2024, 10:50am UTC](https://community.neo4j.com/t/inmemory-server-for-e2e-testing/68891 "2024-07-18T10:50:09Z")

</div>

I have some non-trivial custom mutations that internally use several calls via OGM, and am trying to find the best approach to test. I have unit tests with mocked (via vitest-extended) mocks of the ogm.model(...) classe…

---

## [Noe4j Graphql OGM with NodeJS: Model.create takes several minutes to execute](https://community.neo4j.com/t/noe4j-graphql-ogm-with-nodejs-model-create-takes-several-minutes-to-execute/58381)

<div class="topic-metadata">

**Author:** [@khizaramin95](https://community.neo4j.com/u/khizaramin95)\
**Replies:** 1\
**Last updated:** [June 24, 2024, 3:38pm UTC](https://community.neo4j.com/t/noe4j-graphql-ogm-with-nodejs-model-create-takes-several-minutes-to-execute/58381 "2024-06-24T15:38:53Z")

</div>

Hi, we have a somewhat complex graph structure with a lot of small entities and nested relationships. Everything works fine usually, but we recently experienced a problem where we were trying to create a particularly lar…

---

## [SDN seems unfeasible for our application - looking for advice](https://community.neo4j.com/t/sdn-seems-unfeasible-for-our-application-looking-for-advice/68437)

<div class="topic-metadata">

**Author:** [@andret](https://community.neo4j.com/u/andret)\
**Replies:** 1\
**Last updated:** [June 17, 2024, 11:35pm UTC](https://community.neo4j.com/t/sdn-seems-unfeasible-for-our-application-looking-for-advice/68437 "2024-06-17T23:35:03Z")

</div>

I am the sole developer of a research application at a nonprofit organization. These constraints limit how we can spend our dev time, so up until now we had been running outdated versions of Neo4j (Neo4j 3) and Spring Bo…

---

## [OGM library for dotnet](https://community.neo4j.com/t/ogm-library-for-dotnet/67021)

<div class="topic-metadata">

**Author:** [@farhad.nowzari](https://community.neo4j.com/u/farhad.nowzari)\
**Replies:** 0\
**Last updated:** [March 25, 2024, 12:53pm UTC](https://community.neo4j.com/t/ogm-library-for-dotnet/67021 "2024-03-25T12:53:59Z")

</div>

Hello everyone. We have a good news for C# developers, specially in dotnet 8. We at berrybeat GmbH recently have released a preview version for an OGM library in csharp. We have tried to make it feel as close as possib…

---

## [Why my LocalDate property is stored as a String?](https://community.neo4j.com/t/why-my-localdate-property-is-stored-as-a-string/66540)

<div class="topic-metadata">

**Author:** [@david.cabillic](https://community.neo4j.com/u/david.cabillic)\
**Replies:** 3\
**Last updated:** [February 28, 2024, 7:12am UTC](https://community.neo4j.com/t/why-my-localdate-property-is-stored-as-a-string/66540 "2024-02-28T07:12:51Z")

</div>

I have a User class with field: @Relationship(value = "HAS\_VACATIONS", direction = OUTGOING) private Set vacations; In Vacations class I have some dates: private LocalDate startDate; private LocalDate endDate; W…

---

## [How to filter additional node labels using graphql-ogm](https://community.neo4j.com/t/how-to-filter-additional-node-labels-using-graphql-ogm/66529)

<div class="topic-metadata">

**Author:** [@tushar.nrng.us](https://community.neo4j.com/u/tushar.nrng.us)\
**Replies:** 0\
**Last updated:** [February 26, 2024, 7:39pm UTC](https://community.neo4j.com/t/how-to-filter-additional-node-labels-using-graphql-ogm/66529 "2024-02-26T19:39:10Z")

</div>

Here is the code snip of my node.js service, I want to filter Brand based on node labels, like Brand\_Active. const express = require('express'); const { ApolloServer, gql } = require('apollo-server-express'); const { Ne…

---

## [Does Neomodel use read\_transaction when running db.cypher\_query()?](https://community.neo4j.com/t/does-neomodel-use-read-transaction-when-running-db-cypher-query/65867)

<div class="topic-metadata">

**Author:** [@Tijana37](https://community.neo4j.com/u/Tijana37)\
**Replies:** 2\
**Last updated:** [February 19, 2024, 3:24pm UTC](https://community.neo4j.com/t/does-neomodel-use-read-transaction-when-running-db-cypher-query/65867 "2024-02-19T15:24:40Z")

</div>

I am using Neomodel as OGM to connect my app with the Neo4j database. For the more complex queries I'm using the function: neomodel.db.cypher\_query(query, params={}) Now, I can see that Neomodel uses session.run to ex…

---

## [Neo4J 5 and Spring Boot 3 Neo4jRepository org.springframework.data.mapping.MappingException: Couldn't find PersistentEntity for type class java.util.HashMap](https://community.neo4j.com/t/neo4j-5-and-spring-boot-3-neo4jrepository-org-springframework-data-mapping-mappingexception-couldnt-find-persistententity-for-type-class-java-util-hashmap/66308)

<div class="topic-metadata">

**Author:** [@hvsharma\_learning](https://community.neo4j.com/u/hvsharma_learning)\
**Replies:** 3\
**Last updated:** [February 14, 2024, 2:23am UTC](https://community.neo4j.com/t/neo4j-5-and-spring-boot-3-neo4jrepository-org-springframework-data-mapping-mappingexception-couldnt-find-persistententity-for-type-class-java-util-hashmap/66308 "2024-02-14T02:23:46Z")

</div>

Hello, I am trying to Migrate a Spring Boot 2 application from Neo4J 3 (ogm) to Spring Boot 3.2 + Neo4J 5 The project basically loads some data from a MSSQL server database into a standalone Neo4J instance. Then, Neo4j…

---

## [Performance issues using Neo4J community with OGM](https://community.neo4j.com/t/performance-issues-using-neo4j-community-with-ogm/65837)

<div class="topic-metadata">

**Author:** [@JulianBaSi](https://community.neo4j.com/u/JulianBaSi)\
**Replies:** 0\
**Last updated:** [January 18, 2024, 1:12pm UTC](https://community.neo4j.com/t/performance-issues-using-neo4j-community-with-ogm/65837 "2024-01-18T13:12:05Z")

</div>

Hey all! I am using Neo4J 5.12 community edition and OGM to connect to my Java application. I am using a server wit 16 cores and 128GB RAM. The following configuration I have changed: server.memory.heap.initial\_size=…

---

## [Required identifier property not found for class com.example.demo.entity.Concept!](https://community.neo4j.com/t/required-identifier-property-not-found-for-class-com-example-demo-entity-concept/53234)

<div class="topic-metadata">

**Author:** [@ccnice99](https://community.neo4j.com/u/ccnice99)\
**Replies:** 9\
**Last updated:** [January 7, 2024, 12:08pm UTC](https://community.neo4j.com/t/required-identifier-property-not-found-for-class-com-example-demo-entity-concept/53234 "2024-01-07T12:08:48Z")

</div>

In my Spring Boot (Version:2.6.4) Project,I use Neo4j-OGM to get information from graph database.But I encounter a problem. The error message is "Required identifier property not found for class com.example.demo.entity…

---

## [DBMS failed to start - org/Neo4j/server/startup/Neo4jCommand has been compiled by a more recent version of the Java Runtime](https://community.neo4j.com/t/dbms-failed-to-start-org-neo4j-server-startup-neo4jcommand-has-been-compiled-by-a-more-recent-version-of-the-java-runtime/65632)

<div class="topic-metadata">

**Author:** [@71conradk](https://community.neo4j.com/u/71conradk)\
**Replies:** 0\
**Last updated:** [January 5, 2024, 9:55pm UTC](https://community.neo4j.com/t/dbms-failed-to-start-org-neo4j-server-startup-neo4jcommand-has-been-compiled-by-a-more-recent-version-of-the-java-runtime/65632 "2024-01-05T21:55:23Z")

</div>

Hi There, I like to use Neo4j Desktop when doing local development, especially for Unit Testing. I frequently utilize the Python driver and other Python-based OGM wrappers for the Python driver. I recently encountered …

---

## [Convert Neo4jGraphql class into one of ApolloServer's data sources](https://community.neo4j.com/t/convert-neo4jgraphql-class-into-one-of-apolloservers-data-sources/65326)

<div class="topic-metadata">

**Author:** [@qu8n](https://community.neo4j.com/u/qu8n)\
**Replies:** 8\
**Last updated:** [December 14, 2023, 3:00pm UTC](https://community.neo4j.com/t/convert-neo4jgraphql-class-into-one-of-apolloservers-data-sources/65326 "2023-12-14T15:00:24Z")

</div>

I currently have a GraphQL server on top of Express.js to query from a Neo4j database using the Neo4j GraphQL library. const typeDefs = await toGraphQLTypeDefs(sessionFactory, false); const ogm = new OGM({ typeDefs, dri…

---

## [Circular Dependency Error Neo4j-Graphql OGM Type Generator](https://community.neo4j.com/t/circular-dependency-error-neo4j-graphql-ogm-type-generator/65099)

<div class="topic-metadata">

**Author:** [@email](https://community.neo4j.com/u/email)\
**Replies:** 3\
**Last updated:** [November 28, 2023, 10:08am UTC](https://community.neo4j.com/t/circular-dependency-error-neo4j-graphql-ogm-type-generator/65099 "2023-11-28T10:08:19Z")

</div>

I have a code-generation file for my OGM that looks like this: import \* as path from "path"; import { generate } from "@neo4j/graphql-ogm"; import { OGM } from "@neo4j/graphql-ogm"; import driver from "./driver"; import…

---

## [Persisting relationships with properties with Spring Data Neo4J](https://community.neo4j.com/t/persisting-relationships-with-properties-with-spring-data-neo4j/33989)

<div class="topic-metadata">

**Author:** [@gnchark](https://community.neo4j.com/u/gnchark)\
**Replies:** 7\
**Last updated:** [November 8, 2023, 5:57pm UTC](https://community.neo4j.com/t/persisting-relationships-with-properties-with-spring-data-neo4j/33989 "2023-11-08T17:57:43Z")

</div>

Hi all, I have a conceptual question in terms of persisting relationships with properties. I've googled and seems @RelationshipEntity is the way to go, however all references I've seen of it come from the OGM dependency …

---

## [Cannot pull data from relationship with SDN 6](https://community.neo4j.com/t/cannot-pull-data-from-relationship-with-sdn-6/64447)

<div class="topic-metadata">

**Author:** [@esteves.gean](https://community.neo4j.com/u/esteves.gean)\
**Replies:** 1\
**Last updated:** [October 12, 2023, 6:22am UTC](https://community.neo4j.com/t/cannot-pull-data-from-relationship-with-sdn-6/64447 "2023-10-12T06:22:48Z")

</div>

Hi SDN team, we are trying to migrate from SDN 5 to 6 and we are facing an important issue related to SDN not being able to pull data from a specific relationship. I have the following NodeEntity class: public class No…

---

## [Running cypher queriers in Executor Service Connection to the database failed](https://community.neo4j.com/t/running-cypher-queriers-in-executor-service-connection-to-the-database-failed/63710)

<div class="topic-metadata">

**Author:** [@saravananraj2196](https://community.neo4j.com/u/saravananraj2196)\
**Replies:** 1\
**Last updated:** [September 21, 2023, 4:04pm UTC](https://community.neo4j.com/t/running-cypher-queriers-in-executor-service-connection-to-the-database-failed/63710 "2023-09-21T16:04:49Z")

</div>

Facing the below exception while executing cypher queries. Java Code is connected to cloud db. org.neo4j.driver.exceptions.ServiceUnavailableException: Could not perform discovery for database 'nflows'. No routing serve…

---

## [New Blog: Neomodel: Python OGM for Neo4j Extends Version Support and Moves to Neo4j Labs](https://community.neo4j.com/t/new-blog-neomodel-python-ogm-for-neo4j-extends-version-support-and-moves-to-neo4j-labs/64048)

<div class="topic-metadata">

**Author:** [@alexander.erdl](https://community.neo4j.com/u/alexander.erdl)\
**Replies:** 0\
**Last updated:** [September 7, 2023, 8:11am UTC](https://community.neo4j.com/t/new-blog-neomodel-python-ogm-for-neo4j-extends-version-support-and-moves-to-neo4j-labs/64048 "2023-09-07T08:11:06Z")

</div>

We’re excited to announce that neomodel, the Python OGM (Object-Graph Mapping) library, has officially moved to the Neo4j Labs program and now supports Neo4j version 5. This development brings a host of advantages and o…

---

## [Hello from Dresden, Germany](https://community.neo4j.com/t/hello-from-dresden-germany/63896)

<div class="topic-metadata">

**Author:** [@alexander.gehre](https://community.neo4j.com/u/alexander.gehre)\
**Replies:** 2\
**Last updated:** [August 28, 2023, 8:39am UTC](https://community.neo4j.com/t/hello-from-dresden-germany/63896 "2023-08-28T08:39:17Z")

</div>

Hello from Germany! My name is Alexander and I'm a Java developer from Germany and I'm working as a software consultant with focus on backends based on Spring Boot, Spring Data, JPA, ... Additionally I started developi…

---

## [Graphql Error on Generating Neo4j Subgraph Schema with Autogenerated Interface and Type](https://community.neo4j.com/t/graphql-error-on-generating-neo4j-subgraph-schema-with-autogenerated-interface-and-type/62030)

<div class="topic-metadata">

**Author:** [@ltmutiwekuziwa](https://community.neo4j.com/u/ltmutiwekuziwa)\
**Replies:** 4\
**Last updated:** [May 3, 2023, 10:48am UTC](https://community.neo4j.com/t/graphql-error-on-generating-neo4j-subgraph-schema-with-autogenerated-interface-and-type/62030 "2023-05-03T10:48:24Z")

</div>

I have a graphql interface like this interface Verifiable { verifications: \[Verification!\]! } I then implement that interface like this: type Address implements Verifiable @node(labels: \["Address", "Verifiable"\])…

---

## [How to fix the Exception error: Unrecognized field "contains\_system\_updates"?](https://community.neo4j.com/t/how-to-fix-the-exception-error-unrecognized-field-contains-system-updates/60581)

<div class="topic-metadata">

**Author:** [@Mellessa](https://community.neo4j.com/u/Mellessa)\
**Replies:** 2\
**Last updated:** [April 10, 2023, 3:07am UTC](https://community.neo4j.com/t/how-to-fix-the-exception-error-unrecognized-field-contains-system-updates/60581 "2023-04-10T03:07:33Z")

</div>

Java version:12 Sprintboot verson: org.springframework.boot spring-boot-starter-parent 2.1.18.RELEASE Here are my ogms version Applicaton.properties as: spring.data.neo4j.uri=http://47.106.122.233:7474 // here …

---

## [How to change the Log Level in JakartaEE Maven Projects using neo4j-ogm?](https://community.neo4j.com/t/how-to-change-the-log-level-in-jakartaee-maven-projects-using-neo4j-ogm/61663)

<div class="topic-metadata">

**Author:** [@Samuele](https://community.neo4j.com/u/Samuele)\
**Replies:** 3\
**Last updated:** [March 27, 2023, 3:10pm UTC](https://community.neo4j.com/t/how-to-change-the-log-level-in-jakartaee-maven-projects-using-neo4j-ogm/61663 "2023-03-27T15:10:27Z")

</div>

Hi! We have an issue about the Log Level of the running applications of a JakartaEE 10 project (that does NOT use the Spring framework): using the OGM library (3.2.36 with Bolt Driver), auto-generated queries make refer…

---

## [Changes to Neo4j OGM](https://community.neo4j.com/t/changes-to-neo4j-ogm/61549)

<div class="topic-metadata">

**Author:** [@adrian.challinor](https://community.neo4j.com/u/adrian.challinor)\
**Replies:** 0\
**Last updated:** [March 20, 2023, 6:44pm UTC](https://community.neo4j.com/t/changes-to-neo4j-ogm/61549 "2023-03-20T18:44:39Z")

</div>

We have been using the Spring OGM via teh Spring-starter for some years now. We have started a process to upgrade Spring Boot from V2.7 to V3.0. When we do this we are now getting a message that one line of code we use …

[Next page](https://community.neo4j.com/tag/ogm/382.md?match_all_tags=true&page=1&tags%5B%5D=ogm)
