From ca56ced9b35ba106749fb0537f81f3c9e1f7c836 Mon Sep 17 00:00:00 2001 From: lukaseder Date: Thu, 25 May 2017 17:59:38 +0200 Subject: [PATCH] [#6280] Deprecate DSLContext.bindContext() and renderContext() --- jOOQ/src/main/java/org/jooq/DSLContext.java | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/jOOQ/src/main/java/org/jooq/DSLContext.java b/jOOQ/src/main/java/org/jooq/DSLContext.java index b5a9dcf9cc..32982c78ac 100644 --- a/jOOQ/src/main/java/org/jooq/DSLContext.java +++ b/jOOQ/src/main/java/org/jooq/DSLContext.java @@ -499,7 +499,11 @@ public interface DSLContext extends Scope , AutoCloseable { *
  • {@link RenderContext#qualify()} == true
  • *
  • {@link RenderContext#subquery()} == false
  • * + * + * @deprecated - [#6280] - 3.10 - Do not reuse this method. It will be + * completely internal with jOOQ 4.0 */ + @Deprecated RenderContext renderContext(); /** @@ -588,16 +592,21 @@ public interface DSLContext extends Scope , AutoCloseable { Param extractParam(QueryPart part, String name); /** - * Get a new {@link BindContext} for the context of this DSLContext. + * Get a new {@link BindContext} for the context of this + * DSLContext. *

    * This will return an initialised bind context as such: *

    *

    * BindContext for JOOQ INTERNAL USE only. Avoid referencing it directly + * + * @deprecated - [#6280] - 3.10 - Do not reuse this method. It will be + * completely internal with jOOQ 4.0 */ + @Deprecated BindContext bindContext(PreparedStatement stmt); /**