Skip to content

Commit

Permalink
JavaDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
jchrys committed Jul 28, 2024
1 parent 30af0db commit 1b472bd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1185,11 +1185,15 @@ public Builder resolver(AddressResolverGroup<?> resolver) {
}

/**
* Sets
* @param tinyInt1isBit
* @return
* Option to set the {@link AddressResolverGroup} for resolving host addresses.
* <p>
* This can be used to customize the DNS resolution mechanism, which is particularly useful in environments
* with specific DNS configuration needs or where a custom DNS resolver is required.
*
* @param tinyInt1isBit true to treat TINYINT(1), BIT(1) as Boolean, false otherwise.
* @return this {@link Builder}
*/
public Builder tinyInt1isBit(boolean tinyInt1isBit) {
public Builder tinyInt1isBit(final boolean tinyInt1isBit) {
this.tinyInt1isBit = tinyInt1isBit;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,12 @@ public final class MySqlConnectionFactoryProvider implements ConnectionFactoryPr
public static final Option<AddressResolverGroup<?>> RESOLVER = Option.valueOf("resolver");

/**
* Option to treat TINYINT(1), BIT(1) as Boolean.
* <p>
* By setting this option, you can ensure that the driver interprets TINYINT(1), BIT(1) columns as boolean
* values instead of numeric values.
*
* @param options
* @return
* @since 1.3.0
*/
public static final Option<Boolean> TINY_INT_1_IS_BIT = Option.valueOf("tinyInt1isBit");

Expand Down

0 comments on commit 1b472bd

Please sign in to comment.