Class LobCreationHelper
- java.lang.Object
-
- org.hibernate.engine.jdbc.env.internal.LobCreationHelper
-
public class LobCreationHelper extends Object
Utilities for LOB creation
-
-
Constructor Summary
Constructors Constructor Description LobCreationHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EnumSet<LobTypes>getSupportedContextualLobTypes(Dialect dialect, Map<String,Object> configValues, Connection jdbcConnection)Basically here we are simply checking whether we can call theConnectionmethods for LOB creation added in JDBC 4.
-
-
-
Method Detail
-
getSupportedContextualLobTypes
public static EnumSet<LobTypes> getSupportedContextualLobTypes(Dialect dialect, Map<String,Object> configValues, Connection jdbcConnection)
Basically here we are simply checking whether we can call theConnectionmethods for LOB creation added in JDBC 4. We not only check whether theConnectiondeclares these methods, but also whether the actualConnectioninstance implements them (i.e. can be called without simply throwing an exception).- Parameters:
dialect- TheDialectin useconfigValues- The map of settingsjdbcConnection- The connection which can be used in level-of-support testing.
-
-