[hibernate-issues] [JIRA] (OGM-1573) Update Neo4j to version 3.4.11

Markus Gritsch (JIRA) jira at hibernate.atlassian.net
Sat Apr 25 15:54:48 EDT 2020


Markus Gritsch ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5e9eef36e401710c348121f3 ) *created* an issue

Hibernate OGM ( https://hibernate.atlassian.net/browse/OGM?atlOrigin=eyJpIjoiYTk2NzVkOTQ3NWEzNDE3NjgxM2VkYTE1MzQ2ZjIyYTIiLCJwIjoiaiJ9 ) / Task ( https://hibernate.atlassian.net/browse/OGM-1573?atlOrigin=eyJpIjoiYTk2NzVkOTQ3NWEzNDE3NjgxM2VkYTE1MzQ2ZjIyYTIiLCJwIjoiaiJ9 ) OGM-1573 ( https://hibernate.atlassian.net/browse/OGM-1573?atlOrigin=eyJpIjoiYTk2NzVkOTQ3NWEzNDE3NjgxM2VkYTE1MzQ2ZjIyYTIiLCJwIjoiaiJ9 ) Update Neo4j to version 3.4.11 ( https://hibernate.atlassian.net/browse/OGM-1573?atlOrigin=eyJpIjoiYTk2NzVkOTQ3NWEzNDE3NjgxM2VkYTE1MzQ2ZjIyYTIiLCJwIjoiaiJ9 )

Issue Type: Task Affects Versions: 5.4.2.Final Assignee: Markus Gritsch ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5e9eef36e401710c348121f3 ) Components: neo4j, tests Created: 25/Apr/2020 12:54 PM Priority: Minor Reporter: Markus Gritsch ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5e9eef36e401710c348121f3 )

With upgrading the neo4j dependency version from 3.4. *10* to 3.4. *11* , *four* unit-tests are failing.

* DuplicateIdDetectionTest
* JtaRollbackTest
* ResourceLocalRollbackTest
* CompensationSpiTest

Comparing the neo4j git tags to see what has changed among those version numbers, it seems a change was introduced, how building the "cause chain" for the exception query-execution.

The git diff of neo4j version 3.4.10 - 3.4.11 is
https://github.com/neo4j/neo4j/compare/3.4.10...3.4.11

The isolated commits which had changed the behavior

* https://github.com/neo4j/neo4j/commit/25bd77e8524bcd60ae8418f96da46d840e1de5f6

* https://github.com/neo4j/neo4j/commit/aa0ab5548b8279949b7881505208484e81f9fe06

* https://github.com/neo4j/neo4j/commit/a14accb8ef658250de2d7b8cb055cf660b19e57a

To enable compatibility with neo4j 3.4.11 the class *EmbeddedNeo4jDialect*
has to be modified.

*The exception has to get changed from "UniquePropertyValueValidation" to "IndexEntryConflict."*

( https://hibernate.atlassian.net/browse/OGM-1573#add-comment?atlOrigin=eyJpIjoiYTk2NzVkOTQ3NWEzNDE3NjgxM2VkYTE1MzQ2ZjIyYTIiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/OGM-1573#add-comment?atlOrigin=eyJpIjoiYTk2NzVkOTQ3NWEzNDE3NjgxM2VkYTE1MzQ2ZjIyYTIiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100125- sha1:84eb093 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200425/d4c64923/attachment.html 


More information about the hibernate-issues mailing list