Skip to content

Commit 79d2e20

Browse files
committed
explain the usefulness of java.sql.Xlob
1 parent f0a17e9 commit 79d2e20

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

documentation/src/main/asciidoc/introduction/Mapping.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,8 @@ class Book {
638638
}
639639
----
640640

641+
The advantage is that a `java.sql.Clob` or `java.sql.Blob` can in principle index up to 2^63^ characters or bytes, much more data than you can fit in a Java `String` or `byte[]` array (or in your computer).
642+
641643
To assign a value to these fields, we'll need to use a `LobHelper`.
642644
We can get one from the `Session`:
643645

0 commit comments

Comments
 (0)