Class LobCreatorBuilderImpl
- java.lang.Object
-
- org.hibernate.engine.jdbc.env.internal.LobCreatorBuilderImpl
-
- All Implemented Interfaces:
LobCreatorBuilder
public class LobCreatorBuilderImpl extends Object implements LobCreatorBuilder
BuildsLobCreatorinstances based on the capabilities of the environment.
-
-
Constructor Summary
Constructors Constructor Description LobCreatorBuilderImpl(EnumSet<LobTypes> supportedContextualLobTypes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LobCreatorbuildLobCreator(LobCreationContext lobCreationContext)Build a LobCreator using the given contextstatic LobCreatorBuilderImplmakeLobCreatorBuilder()For used when JDBC Connection is not available.static LobCreatorBuilderImplmakeLobCreatorBuilder(Dialect dialect, Map<String,Object> configValues, Connection jdbcConnection)The public factory method for obtaining the appropriate LOB creator (according to given JDBCConnection).
-
-
-
Method Detail
-
makeLobCreatorBuilder
public static LobCreatorBuilderImpl makeLobCreatorBuilder(Dialect dialect, Map<String,Object> configValues, Connection jdbcConnection)
The public factory method for obtaining the appropriate LOB creator (according to given JDBCConnection).- Parameters:
dialect- TheDialectin useconfigValues- The map of settingsjdbcConnection- A JDBCConnectionwhich can be used to gauge the drivers level of support, specifically for creating LOB references.
-
makeLobCreatorBuilder
public static LobCreatorBuilderImpl makeLobCreatorBuilder()
For used when JDBC Connection is not available.- Returns:
- Appropriate LobCreatorBuilder
-
buildLobCreator
public LobCreator buildLobCreator(LobCreationContext lobCreationContext)
Build a LobCreator using the given context- Specified by:
buildLobCreatorin interfaceLobCreatorBuilder- Parameters:
lobCreationContext- The LOB creation context- Returns:
- The LobCreator
-
-