Hi Nikita

In my application, as a result of the memory leak fix, I'm experiencing 
frequent and consistent "CayenneRuntimeException: [v.4.2.2 Mar 04 2025 
14:34:19] No object is registered in context with Id ...." thrown from 
ObjectStore.registerDiff(ObjectStore.java:178)
If I change SERVER_OBJECT_RETAIN_STRATEGY_PROPERTY to "soft", as you did in the 
test, then the exceptions go away.
I recommend adding a suitable comment to the release notes warning that this 
might happen and detailing how to remedy it.
Best regards,
Jurgen

On Mar 5 2025, at 5:44 pm, John Huss <johnth...@gmail.com> wrote:
> +1, this passed all my checks.
>
> On Tue, Mar 4, 2025 at 9:41 AM Nikita Timofeev <ntimof...@objectstyle.com>
> wrote:
>
> > Hi all,
> >
> > Here is the next maintenance release of Cayenne 4.2.
> > There are not many issues fixed, but still important ones.
> >
> > Release notes:
> > https://github.com/apache/cayenne/blob/4.2.2/RELEASE-NOTES.txt
> > Maven repo:
> > https://repository.apache.org/content/repositories/orgapachecayenne-1059
> > Assemblies: https://dist.apache.org/repos/dist/dev/cayenne/4.2.2/
> >
> > Please evaluate and cast your votes.
> >
> > --
> > Best regards,
> > Nikita Timofeev
> >
>

Reply via email to