Thanks to visit codestin.com
Credit goes to github.com

Skip to content

HHH-19283: Hibernate Gradle Plugin configuration cache support #9895

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

VladoKuruc
Copy link
Contributor

It would be appropriate to include deprecated code cleanup in the migration guide and report plugin support in the GitHub issue Configuration Cache compatibility status
https://hibernate.atlassian.net/browse/HHH-19283


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.


gavinking added a commit to gavinking/hibernate-orm that referenced this pull request Apr 30, 2025
shamelessly stole a fix from hibernate#9895 by @VladoKuruc to Gradle plugin test
Copy link
Member

@beikov beikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than what I commented, this looks good to me.


this.deleteHbmFiles = getProject().getObjects().property( Boolean.class );
this.deleteHbmFiles.convention( false );
getTargetDatabaseName().convention( "H2" );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We didn't use this default before, not sure if it's a good idea to assume H2. IMO a user should explicitly have to specify the DB.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even before, I can see this.targetDatabaseName.convention("H2") there. Obviously, without the convention, it would have to be explicitly required. I'll do whatever you tell me.

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