mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-10 05:04:52 +00:00
explain the usefulness of java.sql.Xlob
This commit is contained in:
parent
a8475e09a4
commit
762cadec94
@ -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`:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user