-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
AlterIndexFinalStep,AlterSchemaFinalStep,AlterSequenceFinalStep,AlterSequenceFlagsStep,AlterSequenceStep<T>,AlterTableAddStep,AlterTableDropStep,AlterTableFinalStep,AlterTableUsingIndexStep,AlterTypeFinalStep,AlterViewFinalStep,ArrayRecord<E>,Block,CommentOnFinalStep,CreateIndexFinalStep,CreateIndexIncludeStep,CreateIndexWhereStep,CreateSchemaFinalStep,CreateSequenceFinalStep,CreateSequenceFlagsStep,CreateTableColumnStep,CreateTableCommentStep,CreateTableConstraintStep,CreateTableFinalStep,CreateTableIndexStep,CreateTableOnCommitStep,CreateTableStorageStep,CreateTableWithDataStep,CreateTypeFinalStep,CreateViewFinalStep,DDLQuery,Delete<R>,DeleteConditionStep<R>,DeleteFinalStep<R>,DeleteLimitStep<R>,DeleteOrderByStep<R>,DeleteQuery<R>,DeleteResultStep<R>,DeleteReturningStep<R>,DeleteUsingStep<R>,DeleteWhereStep<R>,DropIndexCascadeStep,DropIndexFinalStep,DropIndexOnStep,DropSchemaFinalStep,DropSchemaStep,DropSequenceFinalStep,DropTableFinalStep,DropTableStep,DropTypeFinalStep,DropTypeStep,DropViewFinalStep,EmbeddableRecord<R>,GrantFinalStep,GrantWithGrantOptionStep,Insert<R>,InsertFinalStep<R>,InsertOnConflictConditionStep<R>,InsertOnConflictWhereStep<R>,InsertOnDuplicateSetMoreStep<R>,InsertOnDuplicateStep<R>,InsertQuery<R>,InsertResultStep<R>,InsertReturningStep<R>,InsertSetMoreStep<R>,InsertValuesStep1<R,T1>,InsertValuesStep10<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>,InsertValuesStep11<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>,InsertValuesStep12<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>,InsertValuesStep13<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>,InsertValuesStep14<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>,InsertValuesStep15<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>,InsertValuesStep16<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>,InsertValuesStep17<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>,InsertValuesStep18<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>,InsertValuesStep19<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>,InsertValuesStep2<R,T1,T2>,InsertValuesStep20<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>,InsertValuesStep21<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>,InsertValuesStep22<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>,InsertValuesStep3<R,T1,T2,T3>,InsertValuesStep4<R,T1,T2,T3,T4>,InsertValuesStep5<R,T1,T2,T3,T4,T5>,InsertValuesStep6<R,T1,T2,T3,T4,T5,T6>,InsertValuesStep7<R,T1,T2,T3,T4,T5,T6,T7>,InsertValuesStep8<R,T1,T2,T3,T4,T5,T6,T7,T8>,InsertValuesStep9<R,T1,T2,T3,T4,T5,T6,T7,T8,T9>,InsertValuesStepN<R>,Merge<R>,MergeFinalStep<R>,MergeMatchedDeleteStep<R>,MergeMatchedSetMoreStep<R>,MergeMatchedStep<R>,MergeMatchedWhereStep<R>,MergeNotMatchedSetMoreStep<R>,MergeNotMatchedStep<R>,MergeNotMatchedWhereStep<R>,MergeOnConditionStep<R>,Queries,Query,Record,Record1<T1>,Record10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>,Record11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>,Record12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>,Record13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>,Record14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>,Record15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>,Record16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>,Record17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>,Record18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>,Record19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>,Record2<T1,T2>,Record20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>,Record21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>,Record22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>,Record3<T1,T2,T3>,Record4<T1,T2,T3,T4>,Record5<T1,T2,T3,T4,T5>,Record6<T1,T2,T3,T4,T5,T6>,Record7<T1,T2,T3,T4,T5,T6,T7>,Record8<T1,T2,T3,T4,T5,T6,T7,T8>,Record9<T1,T2,T3,T4,T5,T6,T7,T8,T9>,Result<R>,ResultQuery<R>,Results,RevokeFinalStep,Routine<T>,RowCountQuery,Select<R>,SelectConditionStep<R>,SelectConnectByAfterStartWithConditionStep<R>,SelectConnectByConditionStep<R>,SelectConnectByStep<R>,SelectDistinctOnStep<R>,SelectFinalStep<R>,SelectForUpdateOfStep<R>,SelectForUpdateStep<R>,SelectForUpdateWaitStep<R>,SelectFromStep<R>,SelectGroupByStep<R>,SelectHavingConditionStep<R>,SelectHavingStep<R>,SelectIntoStep<R>,SelectJoinStep<R>,SelectLimitAfterOffsetStep<R>,SelectLimitPercentAfterOffsetStep<R>,SelectLimitPercentStep<R>,SelectLimitStep<R>,SelectOffsetStep<R>,SelectOnConditionStep<R>,SelectOptionalOnStep<R>,SelectOptionStep<R>,SelectOrderByStep<R>,SelectQualifyConditionStep<R>,SelectQualifyStep<R>,SelectQuery<R>,SelectSeekLimitStep<R>,SelectSeekStep1<R,T1>,SelectSeekStep10<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>,SelectSeekStep11<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>,SelectSeekStep12<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>,SelectSeekStep13<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>,SelectSeekStep14<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>,SelectSeekStep15<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>,SelectSeekStep16<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>,SelectSeekStep17<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>,SelectSeekStep18<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>,SelectSeekStep19<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>,SelectSeekStep2<R,T1,T2>,SelectSeekStep20<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>,SelectSeekStep21<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>,SelectSeekStep22<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>,SelectSeekStep3<R,T1,T2,T3>,SelectSeekStep4<R,T1,T2,T3,T4>,SelectSeekStep5<R,T1,T2,T3,T4,T5>,SelectSeekStep6<R,T1,T2,T3,T4,T5,T6>,SelectSeekStep7<R,T1,T2,T3,T4,T5,T6,T7>,SelectSeekStep8<R,T1,T2,T3,T4,T5,T6,T7,T8>,SelectSeekStep9<R,T1,T2,T3,T4,T5,T6,T7,T8,T9>,SelectSeekStepN<R>,SelectSelectStep<R>,SelectStartWithStep<R>,SelectUnionStep<R>,SelectWhereStep<R>,SelectWindowStep<R>,SelectWithTiesAfterOffsetStep<R>,SelectWithTiesStep<R>,StoreQuery<R>,TableRecord<R>,Truncate<R>,TruncateCascadeStep<R>,TruncateFinalStep<R>,TruncateIdentityStep<R>,UDTRecord<R>,UpdatableRecord<R>,Update<R>,UpdateConditionStep<R>,UpdateFinalStep<R>,UpdateFromStep<R>,UpdateLimitStep<R>,UpdateOrderByStep<R>,UpdateQuery<R>,UpdateResultStep<R>,UpdateReturningStep<R>,UpdateSetMoreStep<R>,UpdateWhereStep<R>
- All Known Implementing Classes:
AbstractRoutine,ArrayRecordImpl,CustomRecord,EmbeddableRecordImpl,TableRecordImpl,UDTRecordImpl,UpdatableRecordImpl
public interface Attachable extends Serializable
An object in jOOQ that can have an underlyingConfigurationattached or detached.Detaching an
Attachablefrom its configuration means, that the underlyingConnectionorDataSourceis removed. Attaching anAttachableto a newConfigurationmeans, that its underlyingConnectionorDataSourcewill be restored.Detaching an
Attachablewill NOT close the underlyingConnectionorDataSource!Attachables are also
Serializable. The underlyingConnectionorDataSourceistransient. Serialising an Attachable will always detach it first.- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidattach(Configuration configuration)Attach this object to a newConfiguration.Configurationconfiguration()voiddetach()Detach this object from its currentConfiguration.
-
-
-
Method Detail
-
attach
void attach(Configuration configuration)
Attach this object to a newConfiguration.- Parameters:
configuration- A configuration ornull, if you wish to detach thisAttachablefrom its previous configuration.
-
detach
void detach()
Detach this object from its currentConfiguration.This is the same as calling
attach(null).
-
configuration
Configuration configuration()
-
-