Skip to content

Commit

Permalink
explain the usefulness of java.sql.Xlob
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinking authored and beikov committed Sep 27, 2023
1 parent a8475e0 commit 762cade
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions documentation/src/main/asciidoc/introduction/Mapping.adoc
Expand Up @@ -638,6 +638,8 @@ class Book {
}
----

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).

To assign a value to these fields, we'll need to use a `LobHelper`.
We can get one from the `Session`:

Expand Down

0 comments on commit 762cade

Please sign in to comment.