For mapped fields in JPA entities, an error was thrown if the getter wasn't used in equals and hashCode even if the field wasn't used at all. (Issue 816)
Changed
Improves error messages when calling #withPrefabValues incorrectly.
[3.15] - 2023-07-08
Changed
Check that getters are used for all mapped fields in JPA entities, not just the ones with FetchType.LAZY. (Issue 830)Note that this is a breaking change for JPA entity tests. This can be disabled by suppressing Warning.JPA_GETTER. See the manual page about JPA entities, specifically the section on Materialized fields, for more details.
Added
#withFieldnameToGetterConverter() to override the derivation of getter names from field names when testing JPA entities. (Issue 829)
Warning.JPA_GETTER to suppress the check that getters should be used instead of direct field references in JPA entities.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps nl.jqno.equalsverifier:equalsverifier from 3.14.3 to 3.15.1.
Release notes
Sourced from nl.jqno.equalsverifier:equalsverifier's releases.
Changelog
Sourced from nl.jqno.equalsverifier:equalsverifier's changelog.
Commits
44981af
Bumps version to 3.15.17796dc2
Updates CHANGELOG for releasefea9162
Improves error messages for prefab values334bdc2
Fixes incorrect error with unused lazy fieldfcdbdac
Merge pull request #841 from jqno/dependabot/maven/org.apache.commons-commons...6fe2471
Merge pull request #842 from jqno/dependabot/maven/org.junit.jupiter-junit-ju...c71ccff
Merge pull request #843 from jqno/dependabot/maven/com.google.guava-guava-32....fb600af
Merge pull request #844 from jqno/dependabot/maven/com.puppycrawl.tools-check...bd94862
Merge pull request #845 from jqno/dependabot/maven/com.diffplug.spotless-spot...0b60697
Bump com.diffplug.spotless:spotless-maven-plugin from 2.37.0 to 2.38.0Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)