Class LobDataExtraction
java.lang.Object
org.hibernate.dialect.lob.spi.LobDataExtraction
Materializes LOB data using Hibernate's standard resource-handling and exception-conversion semantics.
Use these operations when a Dialect-specific JDBC type must materialize a driver LOB. The stream or reader used for extraction is closed; the caller remains responsible for freeing the JDBC LOB locator.
- Since:
- 8.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]extractBytes(InputStream inputStream) Read all bytes from the supplied stream and close it.static StringextractString(Clob clob) Read all characters from the supplied CLOB and close its character stream without freeing the CLOB locator.
-
Method Details
-
extractBytes
Read all bytes from the supplied stream and close it. -
extractString
-