diff --git a/jOOQ/src/main/java/org/jooq/BindingScope.java b/jOOQ/src/main/java/org/jooq/BindingScope.java index 0972ef739e..8c6fe0f5ac 100644 --- a/jOOQ/src/main/java/org/jooq/BindingScope.java +++ b/jOOQ/src/main/java/org/jooq/BindingScope.java @@ -46,6 +46,7 @@ import java.sql.SQLOutput; /** * A {@link Scope} that lives in the context of a data type {@link Binding} * operation. + *
* The various {@link Binding} operations and their corresponding
* {@link BindingScope} subtypes include:
@@ -71,8 +72,20 @@ import java.sql.SQLOutput;
* {@link BindingGetStatementContext} to read a procedural OUT
* argument from a JDBC {@link CallableStatement}.
*
- * The various {@link Binding} operations are very short lived operations and
- * thus this scope is also very short lived.
+ *
+ * The {@link BindingScope#data()} map is that of the parent scope, which is: + *
+ * This allows for interacting with the rendering lifecycle or the execution + * lifecycle from within a custom data type {@link Binding}. + *
* Most but not all {@link BindingScope} types are also {@link ExecuteScope}. * Specifically, the {@link BindingSQLContext} type isn't an