Skip to content

DATAMONGO-884 - Improved handling for Object methods in LazyLoadingInterceptor. #158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

thomasdarimont
Copy link

We now handle invocations of equals/hashcode/toString Object methods that are not overridden with custom proxy aware logic. This avoids potentially NPEs and makes it easier to debug code that deals with proxies (due to a proper toString representation of a proxy).

Thomas Darimont added 2 commits March 28, 2014 14:27
We now initialise the proxy in case an Object-method is called that is overridden in the traget class.

Based on initial pull request: #152 of @juhgiyo.
Added additional test cases.

Original pull request: #153.
thomasdarimont pushed a commit that referenced this pull request Mar 28, 2014
…terceptor.

We now handle invocations of equals/hashcode/toString Object methods that are not overridden with custom proxy aware logic. This avoids potentially NPEs and makes it easier to debug code that deals with proxies (due to a proper toString representation of a proxy).

Original pull request: #158.
thomasdarimont pushed a commit that referenced this pull request Mar 28, 2014
…terceptor.

We now handle invocations of equals/hashcode/toString Object methods that are not overridden with custom proxy aware logic. This avoids potentially NPEs and makes it easier to debug code that deals with proxies (due to a proper toString representation of a proxy).

Original pull request: #158.
thomasdarimont pushed a commit that referenced this pull request Mar 28, 2014
…terceptor.

We now handle invocations of equals/hashcode/toString Object methods that are not overridden with custom proxy aware logic. This avoids potentially NPEs and makes it easier to debug code that deals with proxies (due to a proper toString representation of a proxy).

Original pull request: #158.
…terceptor.

We now handle invocations of equals/hashcode/toString Object methods that are not overridden with custom proxy aware logic. This avoids potentially NPEs and makes it easier to debug code that deals with proxies (due to a proper toString representation of a proxy).

Original pull request: #158.
thomasdarimont pushed a commit that referenced this pull request Mar 31, 2014
…terceptor.

We now handle invocations of equals(…)/hashCode()/toString()  methods that are not overridden with custom proxy aware logic. This avoids potentially NullPointerExceptions and makes it easier to debug code that deals with proxies (due to a proper toString representation of a proxy).

Original pull request: #158.
thomasdarimont pushed a commit that referenced this pull request Mar 31, 2014
…terceptor.

We now handle invocations of equals(…)/hashCode()/toString()  methods that are not overridden with custom proxy aware logic. This avoids potentially NullPointerExceptions and makes it easier to debug code that deals with proxies (due to a proper toString representation of a proxy).

Original pull request: #158.
@odrotbohm odrotbohm closed this Mar 31, 2014
@odrotbohm odrotbohm deleted the issue/DATAMONGO-884 branch March 31, 2014 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants