org.jooq
Interface Attachable
- All Superinterfaces:
- Adapter, Serializable
- All Known Subinterfaces:
- AggregateFunction<T>, AliasProvider<Z>, ArrayRecord<E>, AttachableInternal, CaseConditionStep<T>, CaseWhenStep<V,T>, Condition, Delete<R>, DeleteConditionStep<R>, DeleteFinalStep<R>, DeleteQuery<R>, DeleteWhereStep<R>, Field<T>, GroupConcatOrderByStep, GroupConcatSeparatorStep, Insert<R>, InsertFinalStep<R>, InsertOnDuplicateSetMoreStep<R>, InsertOnDuplicateStep<R>, InsertQuery<R>, InsertResultStep<R>, InsertSetMoreStep<R>, InsertValuesStep<R>, Merge<R>, MergeFinalStep<R>, MergeMatchedDeleteStep<R>, MergeMatchedSetMoreStep<R>, MergeMatchedStep<R>, MergeMatchedWhereStep<R>, MergeNotMatchedSetMoreStep<R>, MergeNotMatchedStep<R>, MergeNotMatchedWhereStep<R>, MergeOnConditionStep<R>, NamedQueryPart, NamedTypeProviderQueryPart<T>, Package, Param<T>, Parameter<T>, Query, QueryPart, QueryPartInternal, Record, Result<R>, ResultQuery<R>, Routine<T>, Schema, Select<R>, SelectConditionStep, SelectConnectByConditionStep, SelectConnectByStep, SelectFinalStep, SelectForUpdateOfStep, SelectForUpdateStep, SelectForUpdateWaitStep, SelectFromStep, SelectGroupByStep, SelectHavingConditionStep, SelectHavingStep, SelectJoinStep, SelectLimitStep, SelectOffsetStep, SelectOnConditionStep, SelectOrderByStep, SelectQuery, SelectSelectStep, SelectStartWithStep, SelectWhereStep, SimpleSelectConditionStep<R>, SimpleSelectFinalStep<R>, SimpleSelectForUpdateOfStep<R>, SimpleSelectForUpdateStep<R>, SimpleSelectForUpdateWaitStep<R>, SimpleSelectLimitStep<R>, SimpleSelectOffsetStep<R>, SimpleSelectOrderByStep<R>, SimpleSelectQuery<R>, SimpleSelectWhereStep<R>, SortField<T>, Store<E>, StoreQuery<R>, Table<R>, TableField<R,T>, TableLike<R>, TableOnConditionStep, TableRecord<R>, Truncate<R>, Type<R>, UDT<R>, UDTField<R,T>, UDTRecord<R>, UpdatableRecord<R>, UpdatableTable<R>, Update<R>, UpdateConditionStep<R>, UpdateFinalStep<R>, UpdateQuery<R>, UpdateSetMoreStep<R>, UpdateWhereStep<R>, WindowFinalStep<T>, WindowOrderByStep<T>, WindowPartitionByStep<T>, WindowRowsStep<T>
- All Known Implementing Classes:
- AbstractRoutine, ArrayRecordImpl, CustomCondition, CustomField, CustomRecord, CustomTable, PackageImpl, SchemaImpl, TableImpl, TableRecordImpl, UDTImpl, UDTRecordImpl, UpdatableRecordImpl, UpdatableTableImpl
public interface Attachable
- extends Adapter, Serializable
An object in jOOQ that can have an underlying Configuration
attached
or detached.
Detaching an Attachable
from its configuration means, that the
underlying Connection
is removed. Attaching an
Attachable
to a new Configuration
means, that its
underlying Connection
will be restored.
Detaching an Attachable
will NOT close the underlying
connection!
Attachables are also Serializable
. The underlying Configuration is
transient
. Serialising an Attachable will always detach it
first.
- Author:
- Lukas Eder
attach
void attach(Configuration configuration)
- Attach this object to a new
Configuration
Copyright © 2012. All Rights Reserved.