Skip to content

Conversation

@MFAshby
Copy link

@MFAshby MFAshby commented Jan 29, 2026

SessionResultSetExtractor#extractData should not return a list containing multiple entries for the same JdbcSession This is confusing when debugging the code.

Add a warning when >1 session is found for the same ID. This is an indicator that data is corrupt; most of the schemas prevent at the database level by adding a unique constraint to the primary ID column. If the code encounters this scenario; it should fail fast, however this might be a breaking change. A WARN level logging helps developers initially spot this situation and remedy.

SessionResultSetExtractor#extractData should not return a list containing multiple entries for the same JdbcSession
This is confusing when debugging the code.

Add a warning when >1 session is found for the same ID. This is an indicator that data is corrupt; most of the schemas
prevent at the database level by adding a unique constraint to the primary ID column. If the code encounters this
scenario; it should fail fast, however this might be a breaking change. A WARN level logging helps developers initially
spot this situation and remedy.

Signed-off-by: Martin Ashby <martin@ashbysoft.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants