Class DelegatingLobSupport
java.lang.Object
org.hibernate.dialect.lob.spi.DelegatingLobSupport
- All Implemented Interfaces:
LobSupport
Provider base which forwards the complete LOB contract to one stable
delegate. Override only the provider-specific differences.
- Since:
- 8.0
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDelegatingLobSupport(LobSupport delegate) Create a selectively overriding strategy around a non-null delegate. -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether LOB assignments must occur last in insert and update statements.getValueLobFragmentForExtraCreateTableInfo(String columnName) Render the complete column-specific VALUE LOB CREATE TABLE fragment, or returnnullwhen VALUE LOB DDL is unsupported.booleanisLobType(int sqlTypeCode) Classify a JDBC or Hibernate SQL type code as a locator-oriented LOB.booleansupportsJdbcConnectionLobCreation(DatabaseMetaData databaseMetaData) Determine whether JDBC Connection LOB factories may be used.booleanWhether the driver supports materialized byte and String LOB access.booleanWhether LOB locators must be created using JDBC Connection factories.booleanWhether LOB values are bound using stream operations.booleanWhether over-capacity varying mappings become materialized LOB mappings.
-
Constructor Details
-
DelegatingLobSupport
Create a selectively overriding strategy around a non-null delegate.
-
-
Method Details
-
supportsJdbcConnectionLobCreation
Description copied from interface:LobSupportDetermine whether JDBC Connection LOB factories may be used. Accept null metadata and do not retain it.- Specified by:
supportsJdbcConnectionLobCreationin interfaceLobSupport
-
useInputStreamToInsertBlob
public boolean useInputStreamToInsertBlob()Description copied from interface:LobSupportWhether LOB values are bound using stream operations.- Specified by:
useInputStreamToInsertBlobin interfaceLobSupport
-
useConnectionToCreateLob
public boolean useConnectionToCreateLob()Description copied from interface:LobSupportWhether LOB locators must be created using JDBC Connection factories.- Specified by:
useConnectionToCreateLobin interfaceLobSupport
-
supportsMaterializedLobAccess
public boolean supportsMaterializedLobAccess()Description copied from interface:LobSupportWhether the driver supports materialized byte and String LOB access.- Specified by:
supportsMaterializedLobAccessin interfaceLobSupport
-
useMaterializedLobWhenCapacityExceeded
public boolean useMaterializedLobWhenCapacityExceeded()Description copied from interface:LobSupportWhether over-capacity varying mappings become materialized LOB mappings.- Specified by:
useMaterializedLobWhenCapacityExceededin interfaceLobSupport
-
forceLobAsLastValue
public boolean forceLobAsLastValue()Description copied from interface:LobSupportWhether LOB assignments must occur last in insert and update statements.- Specified by:
forceLobAsLastValuein interfaceLobSupport
-
isLobType
public boolean isLobType(int sqlTypeCode) Description copied from interface:LobSupportClassify a JDBC or Hibernate SQL type code as a locator-oriented LOB.- Specified by:
isLobTypein interfaceLobSupport
-
getValueLobFragmentForExtraCreateTableInfo
Description copied from interface:LobSupportRender the complete column-specific VALUE LOB CREATE TABLE fragment, or returnnullwhen VALUE LOB DDL is unsupported.- Specified by:
getValueLobFragmentForExtraCreateTableInfoin interfaceLobSupport
-