diff --git a/jOOQ/src/main/java/org/jooq/Result.java b/jOOQ/src/main/java/org/jooq/Result.java index 6a55a5861d..b6fb74ac83 100644 --- a/jOOQ/src/main/java/org/jooq/Result.java +++ b/jOOQ/src/main/java/org/jooq/Result.java @@ -1188,4 +1188,29 @@ public interface Result extends List, Attachable { * @see String#intern() */ Result intern(String... fieldNames); + + // ------------------------------------------------------------------------ + // Specialisations of Attachable methods + // ------------------------------------------------------------------------ + + /** + * Attach this result and all of its contained records to a new + * {@link Configuration}. + * + * @param configuration A configuration or null, if you wish to + * detach this Attachable from its previous + * configuration. + */ + @Override + void attach(Configuration configuration); + + /** + * Detach this result and all of its contained records from their current + * {@link Configuration}. + *

+ * This is the same as calling attach(null). + */ + @Override + void detach(); + }