Skip to content

Conversation

NathanQingyangXu
Copy link

Seems the doc has room for improvement. This PR tries to correct some obvious defects and is only restricted to Spring Data JDBC module. Further follow-up PRs might be created in the future.

Signed-off-by: Nathan Xu <nathan.qinghyang.xu@gmail.com>
@NathanQingyangXu NathanQingyangXu force-pushed the cosmetic-doc-improvements-jdbc branch from e9f297d to b3e6c63 Compare October 4, 2025 13:57
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Oct 4, 2025
@NathanQingyangXu NathanQingyangXu changed the title cosmetic doc improvements for jdbc components cosmetic doc improvements for jdbc component Oct 4, 2025
+ You can let Spring auto-discover your javadoc:org.springframework.data.jdbc.core.dialect.JdbcDialect[] by registering a class that implements `org.springframework.data.jdbc.core.dialect.DialectResolver$JdbcDialectProvider` through `META-INF/spring.factories`.
Dialects are resolved by javadoc:org.springframework.data.jdbc.core.dialect.DialectResolver[] from a `JdbcOperations` instance, typically by inspecting `Connection.getMetaData()`. +
You can let Spring auto-discover your javadoc:org.springframework.data.jdbc.core.dialect.JdbcDialect[] by registering a class that implements `org.springframework.data.jdbc.core.dialect.DialectResolver$JdbcDialectProvider` through `META-INF/spring.factories`.
`DialectResolver` discovers dialect provider implementations from the class path using Spring's `SpringFactoriesLoader`.
Copy link
Author

Choose a reason for hiding this comment

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

I assume the intention was to insert a hard line break here. Currently, a literal "+" is displayed in the resulting doc instead.

The query you provide must match the format the `RowMapper` expects.
Columns for all properties that are used in the constructor of an entity must be provided.
Columns for properties that get set via setter, wither or field access are optional.
Columns for properties that get set via setter or field access are optional.
Copy link
Author

Choose a reason for hiding this comment

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

I am not sure about the wither, though I am almost sure it is a typo or defect, so I simply deleted it.

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