explain the usefulness of java.sql.Xlob

This commit is contained in:
Gavin 2023-05-19 11:26:47 +02:00
parent f0a17e98b9
commit 79d2e208a6
1 changed files with 2 additions and 0 deletions

View File

@ -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`: