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 theConnection
methods 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 theConnection
methods for LOB creation added in JDBC 4. We not only check whether theConnection
declares these methods, but also whether the actualConnection
instance implements them (i.e. can be called without simply throwing an exception).- Parameters:
dialect
- TheDialect
in useconfigValues
- The map of settingsjdbcConnection
- The connection which can be used in level-of-support testing.
-
-