Skip to content
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

Add native hints for Spring Batch #4187

Closed

Conversation

cppwfs
Copy link
Contributor

@cppwfs cppwfs commented Sep 6, 2022

Has the foundation hints for H2 for Spring Batch.

@Override
public void registerHints(RuntimeHints hints, ClassLoader classLoader) {

hints.resources().registerPattern("org/springframework/batch/core/schema-h2.sql");
Copy link
Contributor

Choose a reason for hiding this comment

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

We need to add hints for other supported databases as well. I will add that on merge.

@fmbenhassine fmbenhassine changed the title Added basic hints for spring batch Add native hints for Spring Batch Sep 12, 2022
fmbenhassine pushed a commit that referenced this pull request Sep 12, 2022
fmbenhassine added a commit that referenced this pull request Sep 12, 2022
Add resource hints for all supported databases
@fmbenhassine
Copy link
Contributor

LGTM. Rebased and merged as 2f8668d. Refined in 06c2dc3 to add resrouce hints for all supported databases.

Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants