From 8a4c6cf07d6fd578e2bd65d29968667396579066 Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Fri, 27 Jul 2012 19:57:20 +0200 Subject: [PATCH] [#1544] Remove Attachable interface from QueryPart hierarchy - deprecated some methods --- jOOQ/src/main/java/org/jooq/QueryPartInternal.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/jOOQ/src/main/java/org/jooq/QueryPartInternal.java b/jOOQ/src/main/java/org/jooq/QueryPartInternal.java index 8b805b765b..7aa470fbdd 100644 --- a/jOOQ/src/main/java/org/jooq/QueryPartInternal.java +++ b/jOOQ/src/main/java/org/jooq/QueryPartInternal.java @@ -64,14 +64,24 @@ public interface QueryPartInternal extends QueryPart { * Retrieve the SQL that will be rendered by this {@link QueryPart} *

* This method is exposed publicly in {@link Query#getSQL()} + * + * @deprecated - 2.5.0 [#1544] - This method will be removed from the + * internal API. Do not reuse it, except through + * {@link Query#getSQL()} */ + @Deprecated String getSQL(); /** * Retrieve the SQL that will be rendered by this {@link QueryPart} *

* This method is exposed publicly in {@link Query#getSQL(boolean)} + * + * @deprecated - 2.5.0 [#1544] - This method will be removed from the + * internal API. Do not reuse it, except through + * {@link Query#getSQL(boolean)} */ + @Deprecated String getSQL(boolean inline); /** @@ -82,7 +92,8 @@ public interface QueryPartInternal extends QueryPart { List getBindValues(); /** - * Retrieve the named parameters that will be bound by this {@link QueryPart} + * Retrieve the named parameters that will be bound by this + * {@link QueryPart} *

* This method is exposed publicly in {@link Query#getParams()} */