-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
improve some JDBC related Javadocs #9195
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
improve some JDBC related Javadocs #9195
Conversation
| * Models size restrictions/requirements on a column's data type. | ||
| * | ||
| * @implNote Since we do not necessarily know the datatype up front, and therefore do not necessarily know | ||
| * @implNote Since we do not necessarily know the data type up front, and therefore do not necessarily know |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
found data type usage elsewhere so change to make it more consistent
aae43e0 to
762a1bf
Compare
gavinking
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some suggestions
hibernate-core/src/main/java/org/hibernate/engine/jdbc/Size.java
Outdated
Show resolved
Hide resolved
...in/java/org/hibernate/engine/jdbc/connections/spi/AbstractMultiTenantConnectionProvider.java
Outdated
Show resolved
Hide resolved
...-core/src/main/java/org/hibernate/engine/jdbc/cursor/internal/RefCursorSupportInitiator.java
Outdated
Show resolved
Hide resolved
...te-core/src/main/java/org/hibernate/resource/jdbc/internal/ResourceRegistryStandardImpl.java
Outdated
Show resolved
Hide resolved
...te-core/src/main/java/org/hibernate/resource/jdbc/internal/ResourceRegistryStandardImpl.java
Outdated
Show resolved
Hide resolved
|
@gavinking , I accepted your suggestions. Thanks for the excellent suggestions. |
9a56883 to
4f31630
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NathanQingyangXu One more very minor thing: I generally try to avoid adding imports just for types used only in the javadoc.
Maybe that's silly, but it's what I've been doing.
...core/src/main/java/org/hibernate/engine/jdbc/mutation/internal/MutationExecutorStandard.java
Outdated
Show resolved
Hide resolved
...core/src/main/java/org/hibernate/engine/jdbc/mutation/internal/MutationExecutorStandard.java
Outdated
Show resolved
Hide resolved
that is a good point. I changed and pushed, but only later on I found your commit suggestion. |
|
Thanks, @NathanQingyangXu ! |
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.
Recently I am working on JDBC related stuff in MongoDB company. I found some (super) minor issues in our Javadocs JDBC related, including:
{@link xxx}which would help end user to navigate