Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Commit 7e6f814

Browse files
committed
Update type mapping
1 parent e0e5f5f commit 7e6f814

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,12 +236,13 @@ This reference table shows the type mapping between [MySQL][m] and Java data typ
236236
| FLOAT | SIGNED/UNSIGNED | `Float`, `BigDecimal` |
237237
| DOUBLE | SIGNED/UNSIGNED | `Double`, `BigDecimal` |
238238
| DECIMAL | SIGNED/UNSIGNED | `BigDecimal`, `Float` (Size less than 7), `Double` (Size less than 16) |
239-
| BIT | - | `BitSet`, `Boolean` (Size is 1), `byte[]` |
239+
| BIT | - | `ByteBuffer`, `BitSet`, `Boolean` (Size is 1), `byte[]` |
240240
| DATETIME/TIMESTAMP | - | `LocalDateTime` |
241241
| DATE | - | `LocalDate` |
242242
| TIME | - | `Duration`, `LocalTime` |
243243
| YEAR | - | `Short`, `Integer`, `Long`, `BigInteger`, `Year` |
244244
| VARCHAR/NVARCHAR | - | `String` |
245+
| VARBINARY | - | `ByteBuffer`, `Blob`, `byte[]` |
245246
| CHAR/NCHAR | - | `String` |
246247
| ENUM | - | `String`, `Enum<?>` |
247248
| SET | - | `String[]`, `String`, `Set<String>` and `Set<Enum<?>>` (`Set<T>` need use `ParameterizedType`) |

0 commit comments

Comments
 (0)