{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":4145168,"defaultBranch":"master","name":"hibernate-orm","ownerLogin":"pb00067","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2012-04-26T06:58:49.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/855947?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1725358531.0","currentOid":""},"activityList":{"items":[{"before":null,"after":"4863033429ffaf5f64256ca9885aa6cbbf81d20d","ref":"refs/heads/6.6","pushedAt":"2024-09-03T10:15:31.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"HHH-18516 - Ignore @AttributeOverride for map key when checking type of map value","shortMessageHtmlLink":"HHH-18516 - Ignore @AttributeOverride for map key when checking type …"}},{"before":"21d89cd4cbfa4c7349c107133d7deb2af31f7a41","after":"e9a62232dcf6235154c826a4873d550ec8dbe4d5","ref":"refs/heads/pullforHHH-16557","pushedAt":"2024-05-08T06:43:46.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"HHH-16557 Testcase and bugfix proposal (revised by beikov)","shortMessageHtmlLink":"HHH-16557 Testcase and bugfix proposal (revised by beikov)"}},{"before":null,"after":"21d89cd4cbfa4c7349c107133d7deb2af31f7a41","ref":"refs/heads/pullforHHH-16557","pushedAt":"2024-05-07T16:58:35.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"HHH-16557 Testcase and bugfix proposal (revised by beikov)","shortMessageHtmlLink":"HHH-16557 Testcase and bugfix proposal (revised by beikov)"}},{"before":null,"after":"b09735506abfda5cc2f1907622a0493acbf04a65","ref":"refs/heads/6.4","pushedAt":"2024-05-07T16:58:12.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"Post-steps for release : `6.4.8.Final`","shortMessageHtmlLink":"Post-steps for release : 6.4.8.Final"}},{"before":"0c623bde446d576795e297b949e4056ccb7d6de2","after":"5e9194ff7838e6651130914916fcf836d6142fa4","ref":"refs/heads/pullrequestHHH-16557","pushedAt":"2024-05-06T14:13:34.000Z","pushType":"push","commitsCount":893,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"Merge branch '6.2' into pullrequestHHH-16557","shortMessageHtmlLink":"Merge branch '6.2' into pullrequestHHH-16557"}},{"before":"a304ed92db31a0338d673ad00dfaaa0645704f22","after":"0c623bde446d576795e297b949e4056ccb7d6de2","ref":"refs/heads/pullrequestHHH-16557","pushedAt":"2024-05-06T14:11:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"Update hibernate-core/src/main/java/org/hibernate/engine/internal/NaturalIdResolutionsImpl.java\n\nCo-authored-by: Christian Beikov ","shortMessageHtmlLink":"Update hibernate-core/src/main/java/org/hibernate/engine/internal/Nat…"}},{"before":"1a2d478ad2d908fe6015b6b588ed71ebece440f2","after":"a304ed92db31a0338d673ad00dfaaa0645704f22","ref":"refs/heads/pullrequestHHH-16557","pushedAt":"2024-05-06T14:10:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"Update hibernate-core/src/main/java/org/hibernate/engine/spi/NaturalIdResolutions.java\n\nCo-authored-by: Christian Beikov ","shortMessageHtmlLink":"Update hibernate-core/src/main/java/org/hibernate/engine/spi/NaturalI…"}},{"before":"a5d8743014dbbe0c8c2474b38c92c43833e33835","after":"6528c077f3efb4e5a7ac2a910c4f40b7dba0826f","ref":"refs/heads/item_readable_isolation","pushedAt":"2023-06-21T08:03:16.969Z","pushType":"push","commitsCount":1,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"HHH-16726 adjust readability condition for strict read-write cache items according isolation level\n\nAlso trust current session.\nIf cached items have the same timestamp as our session then, consider them readable.","shortMessageHtmlLink":"HHH-16726 adjust readability condition for strict read-write cache it…"}},{"before":null,"after":"e1c6c5e1f4ff465025ea40ffb445cfde5b5451b0","ref":"refs/heads/caching_improvement","pushedAt":"2023-06-20T14:01:55.522Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"HHH-16827 Avoid useless locks in NaturalId second level cache.\n\nWhen populating second-level-cache by concurrent threads and several threads read the same entities annotated with it comes to a locking-nightmare. This scenario is described in ticket HHH-16726\n\n.\nOne of the reasons for the bad performance, is that when verifying if the shared cache already contains the key for the natural-id resolution, the current code calls\nif ( CacheHelper.fromSharedCache( s, cacheKey, cacheAccess ) != null ) {\n\n in order to prevent identical re-cachings (NaturalIdResolutionsImpl.java line 251)\nThis is suboptimal and an overshoot for multiple reasons:\n\n fromSharedCache call does not only verify if the shared cache contains the cacheKey,\n it also tests if the item is readable by comparing session timestamps.\n If the item is found but considered ‘unreadable', then identical re-caching isn’t prevented.\n Even more bad: the re-caching attempted is done in vain: NaturaId items aren’t versioned so existing entries get never overriden.\n\npublic boolean isWriteable(long txTimestamp, Object newVersion, Comparator versionComparator) {\n...\n\n return version != null && versionComparator.compare( version, newVersion ) < 0;\n\n2. fromSharedCache call does return the item if found and 'readable', but we just need the information if the key is cached or not\n\n3. fromSharedCache call does produce unnecessary read-locks in NaturalId-region and as conseguence of the useless re-caching attempts (point 1) also useless write-locks are done with putFromLoad\n\nAll this contributes to a huge amount of useless locks in NaturalId cache when it’s get populated.\nIt can avoided by simply calling cacheAccess.contains(cacheKey).","shortMessageHtmlLink":"HHH-16827 Avoid useless locks in NaturalId second level cache."}},{"before":"d64234e29017c8210fe8c4a813ae2d2c53f6b291","after":"e272e012d23ae3acdf7e08124c9a9cfde476fe3b","ref":"refs/heads/6.2","pushedAt":"2023-06-20T13:13:08.682Z","pushType":"push","commitsCount":11,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"HHH-16784 Always resolve generic interface classes to Object type","shortMessageHtmlLink":"HHH-16784 Always resolve generic interface classes to Object type"}},{"before":"ae36824c93ac304685466b8dbe6fcadcc676d0d4","after":"e272e012d23ae3acdf7e08124c9a9cfde476fe3b","ref":"refs/heads/master","pushedAt":"2023-06-20T13:08:06.625Z","pushType":"push","commitsCount":10000,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"HHH-16784 Always resolve generic interface classes to Object type","shortMessageHtmlLink":"HHH-16784 Always resolve generic interface classes to Object type"}},{"before":"c4a3fbe55043cfb37fc01fc00f03c628919703b7","after":"d64234e29017c8210fe8c4a813ae2d2c53f6b291","ref":"refs/heads/6.2","pushedAt":"2023-06-15T12:05:41.689Z","pushType":"push","commitsCount":179,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"Post-steps for release : `6.2.5.Final`","shortMessageHtmlLink":"Post-steps for release : 6.2.5.Final"}},{"before":null,"after":"a5d8743014dbbe0c8c2474b38c92c43833e33835","ref":"refs/heads/item_readable_isolation","pushedAt":"2023-06-15T11:51:35.555Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"HHH-16726\n\nitems are always readable if we accept phantom reads","shortMessageHtmlLink":"HHH-16726"}},{"before":"9f63c8aaf986528bdc008cf558ad61aa1c5634c8","after":"1a2d478ad2d908fe6015b6b588ed71ebece440f2","ref":"refs/heads/pullrequestHHH-16557","pushedAt":"2023-05-12T12:31:22.805Z","pushType":"push","commitsCount":1,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"HHH-16557 bugfix proposal\n\nBug fix according https://github.com/hibernate/hibernate-orm/pull/6511#discussion_r1188808245\nadopted alternative nr.2 which is to postpone the removal of sharedResolution to after Transaction completion. This also has the benefit that the shared NaturalId get removed only if the transaction succeeds.","shortMessageHtmlLink":"HHH-16557 bugfix proposal"}},{"before":"11863e5f283caa7e705183aa7f1196942ce2623c","after":"9f63c8aaf986528bdc008cf558ad61aa1c5634c8","ref":"refs/heads/pullrequestHHH-16557","pushedAt":"2023-05-11T07:15:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"HHH-16557 bugfix proposal\n\nBug fix according https://github.com/hibernate/hibernate-orm/pull/6511#discussion_r1188808245\nadopted alternative nr.2 which is to postpone the removal of sharedResolution to after Transaction completion. This also has the benefit that the shared NaturalId get removed only if the transaction succeeds.","shortMessageHtmlLink":"HHH-16557 bugfix proposal"}},{"before":"efea816675bee5f143113e12d043f890be98fade","after":"ff2e310b57e469eaa96c14cec8212ac0997e5c04","ref":"refs/heads/pullrequestForHHH-16558","pushedAt":"2023-05-05T13:12:55.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"HHH-16558 Detach entity removes NaturalIdCrossReference in shared cache too\n\nAccording documentation detach should only detach/evict the object from persistent contect (first level cache) not from second level cache too.\n\nCachedMutableNaturalIdTest.java: New testmethod which fails without the fix\nNaturalIdResolutionsImpl.java: fix, remove unneeded stuff","shortMessageHtmlLink":"HHH-16558 Detach entity removes NaturalIdCrossReference in shared cac…"}},{"before":null,"after":"efea816675bee5f143113e12d043f890be98fade","ref":"refs/heads/pullrequestForHHH-16558","pushedAt":"2023-05-05T12:43:19.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"HHH-16558 Detach entity removes NaturalIdCrossReference in shared cache too\n\nAccording documentation detach should only detach/evict the object from persistent contect (first level cache) not from second level cache too.\n\nCachedMutableNaturalIdTest.java: New testmethod which fails without the fix\nNaturalIdResolutionsImpl.java: fix, remove unneeded stuff","shortMessageHtmlLink":"HHH-16558 Detach entity removes NaturalIdCrossReference in shared cac…"}},{"before":null,"after":"11863e5f283caa7e705183aa7f1196942ce2623c","ref":"refs/heads/pullrequestHHH-16557","pushedAt":"2023-05-05T10:02:57.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"HHH-16557 Testcase and bugfix proposal\n\nCachedMutableNaturalIdTest contains a new method testCreateDeleteRecreate which fails without the fix\nNaturalIdReadWriteAccess contains a fix proposal","shortMessageHtmlLink":"HHH-16557 Testcase and bugfix proposal"}},{"before":null,"after":"c4a3fbe55043cfb37fc01fc00f03c628919703b7","ref":"refs/heads/6.2","pushedAt":"2023-05-05T06:14:12.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"Add a Dialect report\n\nAlso added\n* H2Dialect#getMinimumSupportedVersion\n* DerbyDialect#getMinimumSupportedVersion\n\n(cherry picked from commit f87df304f94f94a0fc4f2918958e681b48f2ccce)","shortMessageHtmlLink":"Add a Dialect report"}},{"before":"cb68098e0b3f4502d05341049cc3941a1964cd55","after":"52b72e92327bb0648365ba774921c2ff1fbfb43c","ref":"refs/heads/branchForHHH-14944","pushedAt":"2023-05-04T09:51:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"HHH-14944 testcase\n\nbugfix proposal and adapted testcase","shortMessageHtmlLink":"HHH-14944 testcase"}},{"before":"66a39b48d043909b77c535b7fe6d01d005432750","after":"cb68098e0b3f4502d05341049cc3941a1964cd55","ref":"refs/heads/branchForHHH-14944","pushedAt":"2023-05-02T13:26:28.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"HHH-14944 testcase\n\ncorrect comment: issue is also reprocuceable on branch 5.4","shortMessageHtmlLink":"HHH-14944 testcase"}},{"before":"36a9f956c94a5ef1f6167071e45bf2551a4140c7","after":"66a39b48d043909b77c535b7fe6d01d005432750","ref":"refs/heads/branchForHHH-14944","pushedAt":"2023-05-02T10:20:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"HHH-14944 testcase","shortMessageHtmlLink":"HHH-14944 testcase"}},{"before":null,"after":"36a9f956c94a5ef1f6167071e45bf2551a4140c7","ref":"refs/heads/branchForHHH-14944","pushedAt":"2023-05-02T10:13:33.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"pb00067","name":"Guenther Demetz","path":"/pb00067","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/855947?s=80&v=4"},"commit":{"message":"TestCase for HHH-14944","shortMessageHtmlLink":"TestCase for HHH-14944"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0wM1QxMDoxNTozMS4wMDAwMDBazwAAAASra7Sx","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNS0wMlQxMDoxMzozMy4wMDAwMDBazwAAAAMkQbxc"}},"title":"Activity · pb00067/hibernate-orm"}