Skip to content

Conversation

quaff
Copy link
Contributor

@quaff quaff commented Mar 20, 2025

Fix GH-44793

@wilkinsona
Copy link
Member

Thanks, @quaff. I think it would be better to handle jobParametersConverter separately, particularly as it isn't configured using a property. Could you pull that out into a separate PR please?

@quaff
Copy link
Contributor Author

quaff commented Mar 20, 2025

Thanks, @quaff. I think it would be better to handle jobParametersConverter separately, particularly as it isn't configured using a property. Could you pull that out into a separate PR please?

Sure.

Copy link
Member

@wilkinsona wilkinsona left a comment

Choose a reason for hiding this comment

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

I'm not sure about the max varchar length either given how tightly coupled it is to the schema. Being able to configure validateTransactionState looks useful though. Can we just focus on that please in this PR?

@quaff quaff changed the title Autoconfigure more properties for Spring Batch Add possibility to configure a custom JobParametersConverter in BatchAutoConfiguration Mar 20, 2025
@wilkinsona wilkinsona changed the title Add possibility to configure a custom JobParametersConverter in BatchAutoConfiguration Auto-configure Spring Batch to use a JobsParametersConverter bean when available Mar 20, 2025
@wilkinsona wilkinsona added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 20, 2025
@wilkinsona wilkinsona added this to the 3.5.x milestone Mar 20, 2025
@wilkinsona wilkinsona self-assigned this Mar 20, 2025
@wilkinsona wilkinsona modified the milestones: 3.5.x, 3.5.0-M3 Mar 20, 2025
wilkinsona pushed a commit that referenced this pull request Mar 20, 2025
@wilkinsona
Copy link
Member

Thanks again, @quaff.

@pPanda-beta
Copy link

Very silly question @wilkinsona is this PR merged via a separate commit or rejected?

4ff0061 seems like an identical commit

@wilkinsona
Copy link
Member

It was merged in 4ff0061. Unfortunately, limitations of GitHub's web UI cause it to appear unmerged.

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

Labels

type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow overriding JobParametersConverter for spring batch auto-configuration

4 participants