Class ExtractedDatabaseMetaDataImpl.Builder
- java.lang.Object
-
- org.hibernate.engine.jdbc.env.internal.ExtractedDatabaseMetaDataImpl.Builder
-
- Enclosing class:
- ExtractedDatabaseMetaDataImpl
public static class ExtractedDatabaseMetaDataImpl.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder(JdbcEnvironment jdbcEnvironment, boolean jdbcMetadataIsAccessible, JdbcConnectionAccess connectionAccess)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder(JdbcEnvironment jdbcEnvironment, boolean jdbcMetadataIsAccessible, JdbcConnectionAccess connectionAccess)
-
-
Method Detail
-
apply
public ExtractedDatabaseMetaDataImpl.Builder apply(DatabaseMetaData databaseMetaData) throws SQLException
- Throws:
SQLException
-
setConnectionSchemaName
public ExtractedDatabaseMetaDataImpl.Builder setConnectionSchemaName(String connectionSchemaName)
-
setConnectionCatalogName
public ExtractedDatabaseMetaDataImpl.Builder setConnectionCatalogName(String connectionCatalogName)
-
setSupportsRefCursors
public ExtractedDatabaseMetaDataImpl.Builder setSupportsRefCursors(boolean supportsRefCursors)
-
setSupportsNamedParameters
public ExtractedDatabaseMetaDataImpl.Builder setSupportsNamedParameters(boolean supportsNamedParameters)
-
setSupportsScrollableResults
public ExtractedDatabaseMetaDataImpl.Builder setSupportsScrollableResults(boolean supportsScrollableResults)
-
setSupportsGetGeneratedKeys
public ExtractedDatabaseMetaDataImpl.Builder setSupportsGetGeneratedKeys(boolean supportsGetGeneratedKeys)
-
setSupportsBatchUpdates
public ExtractedDatabaseMetaDataImpl.Builder setSupportsBatchUpdates(boolean supportsBatchUpdates)
-
setSupportsDataDefinitionInTransaction
public ExtractedDatabaseMetaDataImpl.Builder setSupportsDataDefinitionInTransaction(boolean supportsDataDefinitionInTransaction)
-
setDoesDataDefinitionCauseTransactionCommit
public ExtractedDatabaseMetaDataImpl.Builder setDoesDataDefinitionCauseTransactionCommit(boolean doesDataDefinitionCauseTransactionCommit)
-
setSqlStateType
public ExtractedDatabaseMetaDataImpl.Builder setSqlStateType(SQLStateType sqlStateType)
-
build
public ExtractedDatabaseMetaDataImpl build()
-
-