- java.lang.Object
-
- org.jooq.impl.DefaultDSLContext
-
- org.jooq.impl.DefaultCloseableDSLContext
-
- All Implemented Interfaces:
Serializable,AutoCloseable,CloseableDSLContext,DSLContext,Scope
public class DefaultCloseableDSLContext extends DefaultDSLContext implements CloseableDSLContext
An extension ofDefaultDSLContextthat implements also theCloseableDSLContextcontract.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultCloseableDSLContext(ConnectionProvider connectionProvider, SQLDialect dialect)DefaultCloseableDSLContext(ConnectionProvider connectionProvider, SQLDialect dialect, Settings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close the underlying resources, if any resources have been allocated when constructing thisDSLContext.Configurationconfiguration()The configuration of the current scope.Map<Object,Object>data()Get all custom data from thisScope.Objectdata(Object key)Get some custom data from thisScope.Objectdata(Object key, Object value)Set some custom data to thisScope.SQLDialectdialect()TheSQLDialectwrapped by this context.DSLContextdsl()Wrap theScope.configuration()in aDSLContext, providing access to the configuration-contextual DSL to construct executable queries.SQLDialectfamily()TheSQLDialect.family()wrapped by this context.Settingssettings()The settings wrapped by this context.-
Methods inherited from class org.jooq.impl.DefaultDSLContext
alterDatabase, alterDatabase, alterDatabase, alterDatabaseIfExists, alterDatabaseIfExists, alterDatabaseIfExists, alterDomain, alterDomain, alterDomain, alterDomainIfExists, alterDomainIfExists, alterDomainIfExists, alterIndex, alterIndex, alterIndex, alterIndexIfExists, alterIndexIfExists, alterIndexIfExists, alterSchema, alterSchema, alterSchema, alterSchemaIfExists, alterSchemaIfExists, alterSchemaIfExists, alterSequence, alterSequence, alterSequence, alterSequenceIfExists, alterSequenceIfExists, alterSequenceIfExists, alterTable, alterTable, alterTable, alterTableIfExists, alterTableIfExists, alterTableIfExists, alterType, alterType, alterView, alterView, alterView, alterViewIfExists, alterViewIfExists, alterViewIfExists, attach, attach, batch, batch, batch, batch, batch, batch, batch, batch, batchDelete, batchDelete, batched, batchedResult, batchInsert, batchInsert, batchMerge, batchMerge, batchStore, batchStore, batchUpdate, batchUpdate, begin, begin, bind, bindContext, commentOnColumn, commentOnColumn, commentOnTable, commentOnTable, commentOnTable, commentOnView, commentOnView, commentOnView, connection, connectionResult, createDatabase, createDatabase, createDatabase, createDatabaseIfNotExists, createDatabaseIfNotExists, createDatabaseIfNotExists, createDomain, createDomain, createDomain, createDomainIfNotExists, createDomainIfNotExists, createDomainIfNotExists, createGlobalTemporaryTable, createGlobalTemporaryTable, createGlobalTemporaryTable, createIndex, createIndex, createIndex, createIndex, createIndexIfNotExists, createIndexIfNotExists, createIndexIfNotExists, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createSchema, createSchema, createSchema, createSchemaIfNotExists, createSchemaIfNotExists, createSchemaIfNotExists, createSequence, createSequence, createSequence, createSequenceIfNotExists, createSequenceIfNotExists, createSequenceIfNotExists, createTable, createTable, createTable, createTableIfNotExists, createTableIfNotExists, createTableIfNotExists, createTemporaryTable, createTemporaryTable, createTemporaryTable, createTemporaryTableIfNotExists, createTemporaryTableIfNotExists, createTemporaryTableIfNotExists, createType, createType, createUniqueIndex, createUniqueIndex, createUniqueIndex, createUniqueIndex, createUniqueIndexIfNotExists, createUniqueIndexIfNotExists, createUniqueIndexIfNotExists, createView, createView, createView, createView, createView, createView, createView, createView, createView, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, currval, currval, currval, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, delete, deleteFrom, deleteQuery, diagnosticsConnection, diagnosticsDataSource, dropDatabase, dropDatabase, dropDatabase, dropDatabaseIfExists, dropDatabaseIfExists, dropDatabaseIfExists, dropDomain, dropDomain, dropDomain, dropDomainIfExists, dropDomainIfExists, dropDomainIfExists, dropIndex, dropIndex, dropIndex, dropIndexIfExists, dropIndexIfExists, dropIndexIfExists, dropSchema, dropSchema, dropSchema, dropSchemaIfExists, dropSchemaIfExists, dropSchemaIfExists, dropSequence, dropSequence, dropSequence, dropSequenceIfExists, dropSequenceIfExists, dropSequenceIfExists, dropTable, dropTable, dropTable, dropTableIfExists, dropTableIfExists, dropTableIfExists, dropTemporaryTable, dropTemporaryTable, dropTemporaryTable, dropTemporaryTableIfExists, dropTemporaryTableIfExists, dropTemporaryTableIfExists, dropType, dropType, dropType, dropType, dropType, dropTypeIfExists, dropTypeIfExists, dropTypeIfExists, dropTypeIfExists, dropTypeIfExists, dropView, dropView, dropView, dropViewIfExists, dropViewIfExists, dropViewIfExists, execute, execute, execute, execute, execute, executeDelete, executeDelete, executeInsert, executeUpdate, executeUpdate, explain, extractBindValues, extractParam, extractParams, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetchAny, fetchAny, fetchAny, fetchAny, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchByExample, fetchCount, fetchCount, fetchCount, fetchCount, fetchCount, fetchExists, fetchExists, fetchExists, fetchExists, fetchExists, fetchFromCSV, fetchFromCSV, fetchFromCSV, fetchFromCSV, fetchFromHTML, fetchFromJSON, fetchFromStringData, fetchFromStringData, fetchFromStringData, fetchFromTXT, fetchFromTXT, fetchFromXML, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchMany, fetchMany, fetchMany, fetchMany, fetchMany, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, grant, grant, grant, informationSchema, informationSchema, informationSchema, informationSchema, informationSchema, informationSchema, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertQuery, lastID, loadInto, map, map, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, meta, meta, meta, meta, meta, meta, meta, meta, meta, migrateTo, mock, mockResult, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, nextval, nextval, nextval, nextvals, parser, parsingConnection, parsingDataSource, queries, queries, query, query, query, query, render, renderContext, renderInlined, renderNamedOrInlinedParams, renderNamedParams, resultQuery, resultQuery, resultQuery, resultQuery, revoke, revoke, revoke, revokeGrantOptionFor, revokeGrantOptionFor, revokeGrantOptionFor, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, selectCount, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectFrom, selectFrom, selectFrom, selectFrom, selectFrom, selectFrom, selectOne, selectQuery, selectQuery, selectZero, set, setCatalog, setCatalog, setCatalog, setSchema, setSchema, setSchema, statements, statements, toString, transaction, transaction, transactionAsync, transactionAsync, transactionResult, transactionResult, transactionResultAsync, transactionResultAsync, truncate, truncate, truncate, truncateTable, truncateTable, truncateTable, update, updateQuery, version, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jooq.DSLContext
alterDatabase, alterDatabase, alterDatabase, alterDatabaseIfExists, alterDatabaseIfExists, alterDatabaseIfExists, alterDomain, alterDomain, alterDomain, alterDomainIfExists, alterDomainIfExists, alterDomainIfExists, alterIndex, alterIndex, alterIndex, alterIndexIfExists, alterIndexIfExists, alterIndexIfExists, alterSchema, alterSchema, alterSchema, alterSchemaIfExists, alterSchemaIfExists, alterSchemaIfExists, alterSequence, alterSequence, alterSequence, alterSequenceIfExists, alterSequenceIfExists, alterSequenceIfExists, alterTable, alterTable, alterTable, alterTableIfExists, alterTableIfExists, alterTableIfExists, alterType, alterType, alterView, alterView, alterView, alterViewIfExists, alterViewIfExists, alterViewIfExists, attach, attach, batch, batch, batch, batch, batch, batch, batch, batch, batchDelete, batchDelete, batched, batchedResult, batchInsert, batchInsert, batchMerge, batchMerge, batchStore, batchStore, batchUpdate, batchUpdate, begin, begin, bind, bindContext, commentOnColumn, commentOnColumn, commentOnTable, commentOnTable, commentOnTable, commentOnView, commentOnView, commentOnView, connection, connectionResult, createDatabase, createDatabase, createDatabase, createDatabaseIfNotExists, createDatabaseIfNotExists, createDatabaseIfNotExists, createDomain, createDomain, createDomain, createDomainIfNotExists, createDomainIfNotExists, createDomainIfNotExists, createGlobalTemporaryTable, createGlobalTemporaryTable, createGlobalTemporaryTable, createIndex, createIndex, createIndex, createIndex, createIndexIfNotExists, createIndexIfNotExists, createIndexIfNotExists, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createOrReplaceView, createSchema, createSchema, createSchema, createSchemaIfNotExists, createSchemaIfNotExists, createSchemaIfNotExists, createSequence, createSequence, createSequence, createSequenceIfNotExists, createSequenceIfNotExists, createSequenceIfNotExists, createTable, createTable, createTable, createTableIfNotExists, createTableIfNotExists, createTableIfNotExists, createTemporaryTable, createTemporaryTable, createTemporaryTable, createTemporaryTableIfNotExists, createTemporaryTableIfNotExists, createTemporaryTableIfNotExists, createType, createType, createUniqueIndex, createUniqueIndex, createUniqueIndex, createUniqueIndex, createUniqueIndexIfNotExists, createUniqueIndexIfNotExists, createUniqueIndexIfNotExists, createView, createView, createView, createView, createView, createView, createView, createView, createView, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, createViewIfNotExists, currval, currval, currval, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, delete, deleteFrom, deleteQuery, diagnosticsConnection, diagnosticsDataSource, dropDatabase, dropDatabase, dropDatabase, dropDatabaseIfExists, dropDatabaseIfExists, dropDatabaseIfExists, dropDomain, dropDomain, dropDomain, dropDomainIfExists, dropDomainIfExists, dropDomainIfExists, dropIndex, dropIndex, dropIndex, dropIndexIfExists, dropIndexIfExists, dropIndexIfExists, dropSchema, dropSchema, dropSchema, dropSchemaIfExists, dropSchemaIfExists, dropSchemaIfExists, dropSequence, dropSequence, dropSequence, dropSequenceIfExists, dropSequenceIfExists, dropSequenceIfExists, dropTable, dropTable, dropTable, dropTableIfExists, dropTableIfExists, dropTableIfExists, dropTemporaryTable, dropTemporaryTable, dropTemporaryTable, dropTemporaryTableIfExists, dropTemporaryTableIfExists, dropTemporaryTableIfExists, dropType, dropType, dropType, dropType, dropType, dropTypeIfExists, dropTypeIfExists, dropTypeIfExists, dropTypeIfExists, dropTypeIfExists, dropView, dropView, dropView, dropViewIfExists, dropViewIfExists, dropViewIfExists, execute, execute, execute, execute, execute, executeDelete, executeDelete, executeInsert, executeUpdate, executeUpdate, explain, extractBindValues, extractParam, extractParams, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetchAny, fetchAny, fetchAny, fetchAny, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchAsync, fetchByExample, fetchCount, fetchCount, fetchCount, fetchCount, fetchCount, fetchExists, fetchExists, fetchExists, fetchExists, fetchExists, fetchFromCSV, fetchFromCSV, fetchFromCSV, fetchFromCSV, fetchFromHTML, fetchFromJSON, fetchFromStringData, fetchFromStringData, fetchFromStringData, fetchFromTXT, fetchFromTXT, fetchFromXML, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchLazy, fetchMany, fetchMany, fetchMany, fetchMany, fetchMany, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptional, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchOptionalValue, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchSingle, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchStream, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValue, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, fetchValues, grant, grant, grant, informationSchema, informationSchema, informationSchema, informationSchema, informationSchema, informationSchema, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertInto, insertQuery, lastID, loadInto, map, map, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, mergeInto, meta, meta, meta, meta, meta, meta, meta, meta, meta, migrateTo, mock, mockResult, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newRecord, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, newResult, nextval, nextval, nextval, nextvals, parser, parsingConnection, parsingDataSource, queries, queries, query, query, query, query, render, renderContext, renderInlined, renderNamedOrInlinedParams, renderNamedParams, resultQuery, resultQuery, resultQuery, resultQuery, revoke, revoke, revoke, revokeGrantOptionFor, revokeGrantOptionFor, revokeGrantOptionFor, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, selectCount, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectDistinct, selectFrom, selectFrom, selectFrom, selectFrom, selectFrom, selectFrom, selectOne, selectQuery, selectQuery, selectZero, set, setCatalog, setCatalog, setCatalog, setSchema, setSchema, setSchema, statements, statements, transaction, transaction, transactionAsync, transactionAsync, transactionResult, transactionResult, transactionResultAsync, transactionResultAsync, truncate, truncate, truncate, truncateTable, truncateTable, truncateTable, update, updateQuery, version, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive, withRecursive
-
-
-
-
Constructor Detail
-
DefaultCloseableDSLContext
public DefaultCloseableDSLContext(ConnectionProvider connectionProvider, SQLDialect dialect, Settings settings)
-
DefaultCloseableDSLContext
public DefaultCloseableDSLContext(ConnectionProvider connectionProvider, SQLDialect dialect)
-
-
Method Detail
-
close
public void close()
Description copied from interface:CloseableDSLContextClose the underlying resources, if any resources have been allocated when constructing thisDSLContext.Some
DSLContextconstructors, such asDSL.using(String),DSL.using(String, Properties), orDSL.using(String, String, String)allocate aConnectionresource, which is inaccessible to the outside of theDSLContextimplementation. Proper resource management must thus be done via thisCloseableDSLContext.close()method.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseableDSLContext
-
configuration
public final Configuration configuration()
Description copied from interface:ScopeThe configuration of the current scope.- Specified by:
configurationin interfaceScope
-
dsl
public final DSLContext dsl()
Description copied from interface:ScopeWrap theScope.configuration()in aDSLContext, providing access to the configuration-contextual DSL to construct executable queries.
-
settings
public final Settings settings()
Description copied from interface:ScopeThe settings wrapped by this context.This method is a convenient way of accessing
configuration().settings().
-
dialect
public final SQLDialect dialect()
Description copied from interface:ScopeTheSQLDialectwrapped by this context.This method is a convenient way of accessing
configuration().dialect().
-
family
public final SQLDialect family()
Description copied from interface:ScopeTheSQLDialect.family()wrapped by this context.This method is a convenient way of accessing
configuration().family().
-
data
public final Map<Object,Object> data()
Description copied from interface:ScopeGet all custom data from thisScope.This is custom data that was previously set to the context using
Scope.data(Object, Object). Use custom data if you want to pass data toQueryPartobjects for a givenScope.
-
data
public final Object data(Object key)
Description copied from interface:ScopeGet some custom data from thisScope.This is custom data that was previously set to the context using
Scope.data(Object, Object). Use custom data if you want to pass data toQueryPartobjects for a givenScope
-
data
public final Object data(Object key, Object value)
Description copied from interface:ScopeSet some custom data to thisScope.This is custom data that was previously set to the context using
Scope.data(Object, Object). Use custom data if you want to pass data toQueryPartobjects for a givenScope.
-
-