Skip to content

Conversation

gavinking
Copy link
Member

I might have gone a little too far on some of this, but it's a learning process.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


@hibernate-github-bot
Copy link

hibernate-github-bot bot commented Aug 24, 2025

Thanks for your pull request!

This pull request does not follow the contribution rules. Could you have a look?

❌ All commit messages should start with a JIRA issue key matching pattern HHH-\d+
    ↳ Offending commits: [84196c4, ecd7a91, eb9578c, 7141ee9, ed16b8a]

› This message was automatically generated.

@gavinking gavinking marked this pull request as ready for review August 24, 2025 11:23
return !Objects.equals( type, Generator.class ) ? type.getName() : generatorConfig.strategy();
final var generatorClass = generatorConfig.type();
return Generator.class.equals( generatorClass )
? generatorConfig.strategy()

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
GenericGenerator.strategy
should be avoided because it has been deprecated.
final int joinColumnCount =
primaryKeyJoinColumns != null
? primaryKeyJoinColumns.length
: joinColumns.length;

Check warning

Code scanning / CodeQL

Dereferenced variable may be null Warning

Variable
joinColumns
may be null at this access as suggested by
this
null guard.
@gavinking gavinking force-pushed the var-in-boot-model branch 2 times, most recently from cc8121e to 607da81 Compare August 25, 2025 00:32
@gavinking gavinking merged commit 9a84f8d into hibernate:main Aug 25, 2025
25 of 26 checks passed
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.

1 participant